Skip to main content
Inspiring
September 30, 2007
Answered

Connecting to fms2 through a router

  • September 30, 2007
  • 17 replies
  • 1644 views
hi ,
i want to connect to fms2 existing on a pc connected to a router ,

a local connection work fine but , when i put my ip it stops working ,

when i connect the pc directly to the internet without the router ,
the connection works good with my ip
but its bothering me because itsnt working when i connect the pc to the router ,
i made a virtual server on the router :
private ip : 192.168.0.100
ports : 19350
TCP and UDP

but nothing changed , still not working ,
i changed the ports in the adaptor.xml to 1350 and 80
and nothing changed too

something to add , when i unplug the router my ip change and is different than
the one when i plug the router , eventhough i tried with both ips and still not worked

so is there any solution ?
    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer kilowa
    i succeed man , thanx a lot .
    one month to sort it not bad .
    the main thing is 2 pcs because i think my router uses linux or unix based system or commands ,
    and after all u should reconfigure the firewall of the computer that contains the fms2 to accept the respectable connection .
    thanx again for u and jonpor for the help

    17 replies

    kilowaAuthor
    Inspiring
    October 2, 2007
    first thanx for your reply ,
    then , i dont have a webserver , and my internet connection is perfect through the router ,. i have a laptop and a desktop connected to the router .
    FMS2 is installed on the desktop which has a local static ip on the LAN .

    i made an application , i want to put it online , ...
    and this application should connect to FMS2 .

    the connection works well if i connect my desktop ( FMS2) directly to the internet
    without using the router .

    and as i said , when i connect directy to the internet i have an ip and when i connect through the router i have another ip ...so obviously i dont have a static ip,
    and dono if really i should have a static ip to make the connection work through the router .

    i have tried to connect through many ports including , 80 ,1935 , 19350 ,...

    and i made a virtual server for my application on the router , but nothing change, ... by the way i have another game online (not flash) and it works through the router perfectly ...

    so what is the problem do u think ?

    and thanx in advance
    Inspiring
    October 2, 2007
    What is the model/brand of your router? I'll see if I can find some docs on it.

    Sounds more like a port forwarding problem with the router.

    I'm sure you know how it works... the outside computer on the intert will go to the address of your router on the WAN.. say 100.100.100.3, and try to connect on, for example, port 80. The router receives the incoming request and uses NAT with your port forwarding rules to re-transmit the incoming request to 192.168.0.10 (whatever it is) at port 80.. inside the WAN.

    Although it sounds like the ISP changes the IP of the router on the WAN, it should only do so from time to time, so as long as you know the current IP... thats not the challenge.
    Inspiring
    October 2, 2007
    Try going back to the basics... do you have a webserver? see if you can open a local web page through the router.. that'll tell you if the router is setup correctly.

    FMS2 should be able to tunnel through port 80 as well.

    Is your ip changing behind the router or the ip of the router itself is changing? Sounds like DHCP. Might want to configure the router to give your computer a static IP address on the LAN. If the router's WAN ip is changing, then that is because of the ISP and there is nothing you can do there.

    I'm not clear if you are trying to access your computer 'via the router on the internet' or via another computer on the LAN?