View previous topic :: View next topic |
Author |
Message |
itswaqasliaqat
Joined: 14 Jun 2011 Posts: 2
|
Posted: Tue Jun 14, 2011 9:33 am Post subject: P2P port forwarding: Cannot connect the forwarded port |
|
|
Hi
I am implementing a P2P application which should be accessible from the internet. I am using UPnP to forward my local port on the NAT. Means the scenario is,
PC -----> (private IP) NAT (public IP) ------>Internet
The NAT setting are showing me required port mapping, means I can successfully add an entry with UPnP (miniupnpc) but its not opening a port at the router.
So now after opening a listening socket at local machine and port forwarding, I am not able to cannect via TCP socket to the NAT public ip:forwarded.port, It give me connection timeout. Its not loopback error, I tried with a separate internet line, but still its giving timeout.
thanks
itswaqasliaqat |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Tue Jun 14, 2011 6:14 pm Post subject: |
|
|
Nobody can help you without more details :
What is the OS of your PC ? Does it have some firewall software installed ?
What is your router ?
Have you tried to use some other UPnP enabled software ? (P2P client client or chat software etc.) _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
itswaqasliaqat
Joined: 14 Jun 2011 Posts: 2
|
Posted: Wed Jun 15, 2011 9:44 am Post subject: |
|
|
Hi
I figured it out what the problem was. Actually I was using my company domain login and user group firewall policy was blocking all my requests by default despite of open ports at my local firewall. I run the code outside my company domain and it works fine.
Thanks |
|
Back to top |
|
|
|