changed overloaded constructors to change port and change ipaddress methods