detect LAN IP address, handle exceptions, user input port number
detect config server