fix #33

If people need to connect to localhost, the global IP can be set to 127.0.0.1.