Make sure you have automatic config off do those like this:
# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname = *
LoginserverPort = 2106
# The address on which login will listen for GameServers
# use * to bind on all available IPs
LoginHostname = *
# The port on which login will listen for GameServers
LoginPort = 9014
# Bind IP of the gameserver, use * to bind on all available IPs
GameserverHostname = *
GameserverPort = 7777
# The Loginserver host and port
LoginPort = 9014
LoginHost = 127.0.0.1
only change in both ls and gs these configs:
ExternalHostname = 127.0.0.1
InternalHostname = 127.0.0.1
nothing more nothing less...