First of all read the rules for posting in forum carefully!
You should edit your post not double post!
Anyway!
server.properties
# Note: External/Internal address definitions was moved to the ipconfig.xml
#
# Where's the Login server this gameserver should connect to
# Default: 127.0.0.1
LoginHost = <---- ur IP here
# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014
# Bind address for gameserver. You should not need to change it in most cases.
# Default: * (0.0.0.0)
GameserverHostname = <------- ur IP here
# Default: 7777
GameserverPort = 7777
login.properies
# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: *
LoginserverHostname = <-------- ur IP here
# Default: 2106
LoginserverPort = 2106
# The address on which login will listen for GameServers, use * to bind on all available IPs
# Default: *
LoginHostname = <-------ur IP here
# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014
# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# Default: 15
IpUpdateTime = 15
ipconfig.xml:
<?xml version="1.0" encoding="UTF-8"?>
<gameserver address="*"> <!-- your external ip here, is the main gameserver ip address, used with subnet 0.0.0.0 -->
<define subnet="127.0.0.0/8" address="*" /> <!-- localhost loopback -->
<define subnet="10.0.0.0/8" address="*" /> <!-- if you have other network interfaces you can use this syntax -->
<define subnet="172.16.0.0/19" address="*" /> <!-- if you have other network interfaces you can use this syntax -->
<define subnet="192.168.0.0/16" address="*" /> <!-- if you have other network interfaces you can use this syntax -->
</gameserver>
where i have * in ipconfig.xml replace it with ur IP
I hope I gave u the solution to ur problem!