networking - HttpListener working on local network, but not externally -
i attempting spin application listens on port , responds http requests. on windows 8 machine connecting through netgear router provides port forwarding. have:
- modified dns zone file of 1 of domains point ip address assigned cable modem
- added port-forwarding rule router sends requests port 8080 port 8081 on computer
- opened port 8081 on windows firewall
- executed netsh http add urlact http://+:8081/ user=everyone listen=yes administrator
- started app uses simple webserver solution found @ http://codehosting.net/blog/blogengine/post/simple-c-web-server.aspx uses httplistener object prefix of http://+:8081/.
from machine on local network, can browse http://home.example.com:8080/blah/blah , works great. whenever attempt same url machine connected elsewhere on internet, connection times out. have tried using ip address instead domain name, , have tried disabling windows firewall (temporarily), still no luck.
i'm sure more of network setup issue code issue, thought ask anyway see if there can do. sorry spaces in urls above. first post so, , apparently don't have enough of reputation post more single link.
by "elsewhere on internet", assuming attempting access different isp.
the thing isps unless paying "business class" connection, sorts of tricks ensure remain "consumer". need unnated static ip address.
by mean ip address may have @ home may not accessible outside world because isp nating (or other) address you. common practice because of limited ip4 addresses. if want service accessible via www, suggest moving product vpn, or @ least commodity hosting provider.
edit: try vpn service hamachi
Comments
Post a Comment