[Fixed] Connection from WAN impossible
#1
Hello,
Firt of all, sorry for my english (I'm french).
I downloaded MCServer from your subversion repository and compiled it successfully on my Linux Server running Ubuntu Server.
It works perfectly from my LAN but people can't access to the server from WAN. They are disconnected after "Downloading Map". My configuration (ports,...) is correct because I used bukkit before on this server.
During the connection, the server logged that when someone try to connect from WAN :
Code:
[b26d9b70|16:06:00] Client "***.***.***.***" connected!
[b26d9b70|16:06:00] New ClientHandle created at 0xd576738
[b3380b70|16:06:00] HANDSHAKE bosslolilol
[b3380b70|16:06:00] User "bosslolilol" was sent a handshake
[b3380b70|16:06:00] LOGIN bosslolilol
[b3380b70|16:06:00] Created a player object for "bosslolilol" @ "77.201.244.37" at 0xd576c08, ID 16
[b3380b70|16:06:00] Created a window at 0xb974ec8
[b3380b70|16:06:00] Created a window at 0xb3faa00
[b3380b70|16:06:00] Added bosslolilol to group Default
[b3380b70|16:06:00] Player bosslolilol has permissions:
[b3380b70|16:06:00] core.build
[b3380b70|16:06:00] core.help
[b3380b70|16:06:00] core.playerlist
[b3380b70|16:06:00] core.pluginlist
[b3380b70|16:06:00] core.spawn
[b3380b70|16:06:00] Player "bosslolilol" is connecting for the first time, spawning at default world spawn {486.00, 61.60, -98.00}
[b3380b70|16:06:00] cPlayer::GetSpawnPacket for "bosslolilol" at pos {486.00, 61.60, -98.00}
[b3380b70|16:06:00] Streaming chunks centered on [30, -7], view distance 9
[b3380b70|16:06:00] cChunk: Entity #16 (cPlayer) at [30, 0, -7] spawning for player "bosslolilol"
[b3380b70|16:06:00] cPlayer::GetSpawnPacket for "bosslolilol" at pos {486.00, 61.60, -98.00}
[b3380b70|16:06:00] cChunk: Entity #2 (cPawn) at [29, 0, -5] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #3 (cPawn) at [30, 0, -5] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #4 (cPawn) at [33, 0, -7] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #10 (cPawn) at [34, 0, -10] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #5 (cPawn) at [29, 0, -11] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #7 (cPawn) at [30, 0, -11] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #15 (cPawn) at [32, 0, -11] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #9 (cPickup) at [31, 0, -12] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #6 (cPawn) at [32, 0, -12] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #13 (cPawn) at [33, 0, -12] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #11 (cPawn) at [34, 0, -12] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #1 (cPlayer) at [33, 0, -13] spawning for player "bosslolilol"
[b3380b70|16:06:00] cPlayer::GetSpawnPacket for "superboum" at pos {531.98, 91.00, -200.24}
[b3380b70|16:06:00] cChunk: Entity #12 (cPawn) at [34, 0, -14] spawning for player "bosslolilol"
[b3380b70|16:06:00] cChunk: Entity #14 (cPawn) at [35, 0, -14] spawning for player "bosslolilol"
[b4382b70|16:06:04] Spawning player "bosslolilol" at {486.00, 61.60, -98.00}
[b3380b70|16:06:07] Error on shutting down socket (***.***.***.***): 107: Transport endpoint is not connected
[b1eb6b70|16:06:08] cMonster::cMonster()
[b1eb6b70|16:06:08] In state: Idle
[b1eb6b70|16:06:18] cMonster::cMonster()
[b1eb6b70|16:06:18] In state: Idle
[b1eb6b70|16:06:29] cMonster::cMonster()
[b1eb6b70|16:06:29] In state: Idle
[b1eb6b70|16:06:36] chunk [31, -12] destroying entity #9 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [31, -11] destroying entity #7 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [29, -10] destroying entity #5 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [30, -9] destroying entity #18 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [28, -7] destroying entity #19 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [30, -7] destroying entity #16 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [30, -7] destroying entity #17 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [29, -4] destroying entity #2 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [30, -4] destroying entity #3 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [35, -14] destroying entity #14 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [33, -13] destroying entity #1 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [34, -13] destroying entity #12 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [32, -12] destroying entity #6 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [34, -12] destroying entity #11 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [33, -11] destroying entity #13 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [33, -11] destroying entity #15 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [34, -9] destroying entity #10 for player "bosslolilol"
[b1eb6b70|16:06:36] chunk [32, -8] destroying entity #4 for player "bosslolilol"
[b1eb6b70|16:06:36] Deleting client "bosslolilol" at 0xd576738
But the server logs that for me on my LAN and works perfectful :
Code:
[b26d9b70|16:03:50] Client "192.168.1.7" connected!
[b26d9b70|16:03:50] New ClientHandle created at 0x83c6118
[b26d9b70|16:03:50] Creating a new cSocketThread (currently have 0)
[b1eb6b70|16:03:50] Deleting client "" at 0x83c6118
[b1eb6b70|16:03:50] ClientHandle at 0x83c6118 deleted
[b26d9b70|16:03:51] Client "192.168.1.7" connected!
[b26d9b70|16:03:51] New ClientHandle created at 0x83c6118
[b3380b70|16:03:51] HANDSHAKE superboum
[b3380b70|16:03:51] User "superboum" was sent a handshake
[b3380b70|16:03:51] LOGIN superboum
[b3380b70|16:03:51] Created a player object for "superboum" @ "192.168.1.7" at 0x83c5008, ID 1
[b3380b70|16:03:51] Created a window at 0x83c7878
[b3380b70|16:03:51] Created a window at 0x83c3050
[b3380b70|16:03:51] Added superboum to group Default
[b3380b70|16:03:51] Player superboum has permissions:
[b3380b70|16:03:51] core.build
[b3380b70|16:03:51] core.help
[b3380b70|16:03:51] core.playerlist
[b3380b70|16:03:51] core.pluginlist
[b3380b70|16:03:51] core.spawn
[b3380b70|16:03:51] Player "superboum" is connecting for the first time, spawning at default world spawn {486.00, 61.60, -98.00}
[b3380b70|16:03:51] Streaming chunks centered on [30, -7], view distance 9
[b3380b70|16:03:51] cChunk: Entity #1 (cPlayer) at [30, 0, -7] spawning for player "superboum"
[b3380b70|16:03:51] cPlayer::GetSpawnPacket for "superboum" at pos {486.00, 61.60, -98.00}

So why it doesn't work in WAN ?
Thanks for your answer, I hope I'm in the right section.
Reply
Thanks given by:


Messages In This Thread
[Fixed] Connection from WAN impossible - by superboum - 06-09-2012, 12:26 AM
RE: Connection from WAN impossible - by xoft - 06-09-2012, 01:02 AM
RE: Connection from WAN impossible - by superboum - 06-09-2012, 01:26 AM



Users browsing this thread: 1 Guest(s)