mashhur
Member level 5
hello everyone!
im experiencing a problem with port forwarding.
I have 2 routers hold static global IPs (given by ISP). For each routers, there are local hosts behind.
Let's say, routers' ips are R1_IPAddr and R2_IPAddr where local machines R1_IPAddr_localIP1, R2_IPAddr_localIP1 etc...
I wanna send a message from R1_IPAddr_localIP1 to R2_IPAddr_localIP1 on 5000 port.
Here is what I did:
1) went to the router setting and set the port forwarding for R1_IPAddr_localIP1 on 5000 port number.
2) created a socket binds 5000 port with R2_IPAddr_localIP1 and tries to connect to R1_IPAddr and run it on R2_IPAddr_localIP1 host.
I was supposed to connect to R1_IPAddr_localIP1 but nothing happened.
NOTE: forwarding global port 4000 where local is 5000 and also im certainly using TCP/IP connection and forward TCP port.
Please share if somebody has any ideas!
Thanks in advance.
im experiencing a problem with port forwarding.
I have 2 routers hold static global IPs (given by ISP). For each routers, there are local hosts behind.
Let's say, routers' ips are R1_IPAddr and R2_IPAddr where local machines R1_IPAddr_localIP1, R2_IPAddr_localIP1 etc...
I wanna send a message from R1_IPAddr_localIP1 to R2_IPAddr_localIP1 on 5000 port.
Here is what I did:
1) went to the router setting and set the port forwarding for R1_IPAddr_localIP1 on 5000 port number.
2) created a socket binds 5000 port with R2_IPAddr_localIP1 and tries to connect to R1_IPAddr and run it on R2_IPAddr_localIP1 host.
I was supposed to connect to R1_IPAddr_localIP1 but nothing happened.
NOTE: forwarding global port 4000 where local is 5000 and also im certainly using TCP/IP connection and forward TCP port.
Please share if somebody has any ideas!
Thanks in advance.