Bugfixes. Web hosting on IP address, all listeners on localhost.
Removed hardcoded ip address. Added function to derive it.