Hi guys,
I’m able to connect via 127.0.0.1:25001 but when I put in my IP of 62.60.14.1 (http://www.whatsmyip.org/) It doesnt connect? This happens for every software, photon, SFS2X, Lidgren, M2H Tutorials and list goes on? What must I do to allow clients to connect through my external IP address?
your router isn’t forwarding it to your local ip address
your external ip is: 62.60.14.1
all of the computers on the same network will have that external ip your local address will most likely be something like 192.168.2.1 or 172.168.2.1 or 10.0.0.12 each computer on your network has a different local ip but a shared external ip, even if your computer is the only one one your network your router will not forward it automatically you must set it yourself
You need to log into your router and forward port 25001 to your local ip and then it will work on the external ip
If i haven’t been clear enough just pm me and ill help you through it ![]()
Thanks, so Yes I do have to port forward
Its interesting because no one seems to say it anywhere… In no tutorials have I seen it yet :(. Its a huge step as well.
Yes could you guide me through it? I have never done it before…
ok what router do you have?
It’s an implied requirement to understanding basic networking before making a multiplayer game. I don’t think it should be said, this is slightly more technical than saying your computer must be running prior to starting the server software, which I don’t believe any server documentation actually takes the time to say.
but most network developers i come across tend to do development within a internal network and use VM etc which is the main reason i think its missed out plus depending on device port forwarding can be straight forward or very difficult, cisco gear for example can be a nightmare when using the console port, but anyone who’s willing to learn, i happy to help ![]()
Im using a NetGear router. Not sure which one but the software interface should all look alike.
DPMO… Some people have to learn networking. The point of making a tutorial for those who are new to networking is to teach them everything. Or at least the basics. If portfowarding is so basic for you then why isnt it in tutorials?? Now please write something constructive, or navigate away from this webpage and stop wasting your’s and mine and all those reading’s time.
- Vincent
No, the point of a server networking tutorial is how to use the software. They can’t possibly go into every aspect of networking nor should they. Port forwarding is a basic networking concept, which is why it’s usually not in tutorials. Basic network questions come up very often on this forum, for some reason people want to make network games, but don’t want to take the time to understand things like firewalls, routing, ports and the differences between TCP and UDP. You would be doing yourself a great favor to take the time to read about those topics if you hope to make a multiplayer game for one simple reason: it’s not possible to make and support a multiplayer game without that knowledge.
since its getting late for me ill be lazy and just post this link
http://kbserver.netgear.com/kb_web_files/n101145.asp
hint your adding a custom service, any problems ill answer tomorrow ![]()
But my final rant for the night is i’m yet to find someone in programming who has not tried something new and later realised there in over there head especially on anything network related but when you get there its very rewarding,
i recommend having a look at some demo projects photon have a few on the asset store and there is some smart fox ones around
OMG. Thank you so much this helps me SO much!!! Legend.