Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Multisync - Clients on Different Networks Cannot Connect (Multiplayer)

Author
Message
JamesWalker101
16
Years of Service
User Offline
Joined: 14th Apr 2010
Location: England
Posted: 5th Jan 2014 19:40 Edited at: 7th Jan 2014 19:07
Hi, I am developing a game, and

Client:

Server:



I will explain now that I know that the above code will only work with one player, and I will add to the code once I know it works.
The port 7970 is forwarded on my router (Bt Home Hub 3) and I am connected with powerline (homeplug). I run Minecraft and Just Cause 2 servers fine with this port (not at the same time), and both require port forwarding. Therefore, I assume that the ports are forwarded.
If I enter my local loopback address, I can connect to the server, and the server software prints the confirmation.
However, when I give my friend my IP, which is 86.169.xx.xxx (i replaced some numbers with x's), which I give him for my MC/JC2 server, he cannot connect, and the server does not receive the message.
Is there anything wrong with my code/something I need to add?

Any Idea's?
Thanks guys
JamesWalker101
16
Years of Service
User Offline
Joined: 14th Apr 2010
Location: England
Posted: 7th Jan 2014 20:30
Nobody has replied, and I would like to close this thread. I understand that this forum is dying and obviously nobody with networking knowledge logged on in these past few days.
I decided to code THIS game in Java instead.
Sorry guys

James
Seditious
12
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 9th Jan 2014 14:37
You have to set the port before hosting/connecting.

Login to post a reply

Server time is: 2026-07-06 07:52:47
Your offset time is: 2026-07-06 07:52:47