Argh! So many SDL_net problems! This one is probably the most important one. I have a basic chat working. However, I'm not sure how to have clients remotely connect. I have port forwarded on my server port (9001), and replaced "localhost" with my external IP address. However, the clients are still unable to connect. If you need any code, just ask. Have you guys had the same problem?
Thanks in advance.
-Exiled
Remotely Connecting to a Server [SDL_net]
You are required to allow it through your firewall for sure. When first testing, if the Windows firewall is in question at all just turn it off.
A) First test locally, with your local i.p. (e.g. 192.168.1.101)
B) Next, test on the local network, say from "Family computer" (192.168.1.102) connecting to the i.p. of "Exiled Server" (192.168.1.101)
*Forward port TCP 9001 to the i.p. for Exiled Server (e.g. 192.168.1.101)*
C) Connect from a remote computer to your external i.p. (e.g. 123.45.67.89)
If step [color=#ff0000]A fails, your program is bugged.
If step [color=#008000]A works and [color=#ff0000]B fails, it is a firewall/antivirus related issue.
If steps [color=#008000]A and [color=#008000]B work and [color=#ff0000]C fails, you have port-forwarded incorrectly.
If [color=#008000]A , [color=#008000]B, an d [color=#008000]C work then you win!
pi`
A) First test locally, with your local i.p. (e.g. 192.168.1.101)
B) Next, test on the local network, say from "Family computer" (192.168.1.102) connecting to the i.p. of "Exiled Server" (192.168.1.101)
*Forward port TCP 9001 to the i.p. for Exiled Server (e.g. 192.168.1.101)*
C) Connect from a remote computer to your external i.p. (e.g. 123.45.67.89)
If step [color=#ff0000]A fails, your program is bugged.
If step [color=#008000]A works and [color=#ff0000]B fails, it is a firewall/antivirus related issue.
If steps [color=#008000]A and [color=#008000]B work and [color=#ff0000]C fails, you have port-forwarded incorrectly.
If [color=#008000]A , [color=#008000]B, an d [color=#008000]C work then you win!
pi`
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement