server and port can be changed on network object