miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

miniupnpc works but server is non reachable

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> NAT/UPnP
View previous topic :: View next topic  
Author Message
guiodic



Joined: 02 Feb 2009
Posts: 2

PostPosted: Mon Feb 02, 2009 4:07 pm    Post subject: miniupnpc works but server is non reachable Reply with quote

Hi to all.

I use miniupnpc to forward port to my local httpd installation on Ubuntu 8.10.

I tried this commands:

Code:
upnpc -r 81 top


and

Code:
upnpc -a 192.168.1.3 81 8080 tcp


It work, but server is unreachable (I tried from my own machine). Firefox works, works... and fail (with external_ip:8080 or :81)

But server is on and works with localhost:81

I wrote my own server too.... and it's the same.

I tried other ports (6500, 65000 and other), and it is the same...

this is the output:

Code:

upnpc : miniupnpc library test client. (c) 2006-2008 Thomas Bernard

for more information.
List of UPNP devices found on the network :
 
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

 
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : xxxx
Local LAN ip address : 192.168.1.3
ExternalIPAddress = 82.84.30.176
InternalIP:Port = 192.168.1.3:81
external 82.84.30.176:81 TCP is redirected to internal 192.168.1.3:81


(links deleted due forum control)
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1431

PostPosted: Tue Feb 03, 2009 10:23 am    Post subject: Reply with quote

urls are forbidden only on 1st post.

you say http://localhost:81/ works but you should try http://192.168.1.3:81/ from inside your LAN and then http://82.84.30.176:81/ from the internet (that will not work from your LAN)
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
guiodic



Joined: 02 Feb 2009
Posts: 2

PostPosted: Wed Feb 04, 2009 1:31 pm    Post subject: Reply with quote

Thank you very much. It works from external network.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> NAT/UPnP All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.