added local ip/netmask option to server.
removed unnecessary comments.