bugfix: ip addr is determined through gui only. server is passed the ip
it should listen on.