fix #33

If people need to connect to localhost, the global IP can be set to 127.0.0.1.
Merge pull request #35 from recadra/master

fix #33