Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a problem with port forwarding. I run on Windows 7. I have installed WAMP on my PC and I want to put it online. I disabled my firewall, apply port forwarding on my router (in my case: 8343 to 80), put WAMP online and when I go to myip:8343 my browser say that it cannot access this address.

  1. Does someone know what can be the pb?
  2. Does someone know how can I test if the router forward the request to my specific port alternatively than see the response in the browser?
share|improve this question

migrated from stackoverflow.com Dec 24 '12 at 11:14

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Maybe the web server is bounded to localhost.

You can check if it is bound to localhost by executing netstat -an in a command prompt. If it is bounded to localhost,you'll see a 127.0.0.1:80 in the local adress column.

See here for documentation on configuring the address binding of apache.

As for the 2nd part of your question, I would suggest Netcat.

I have always used it for TCP/IP troubleshooting.They don't call it "The TCP/IP Swiss army knife" for nothing!

You can find a windows port here.

Check here for a simple guide of using Netcat to check port forwarding.

share|improve this answer
    
no its not... 0.0.0.0:80 –  Eliel Haouzi Dec 18 '12 at 22:37
    
when you say myip:8343 you mean your public IP,right? –  Nikanos Polykarpou Dec 18 '12 at 22:49
    
yes of course ! –  Eliel Haouzi Dec 19 '12 at 3:11
    
thank you for your response i'll try it(netcat) ! if you have an another solution for my first issue i will be happy... –  Eliel Haouzi Dec 19 '12 at 6:11
up vote 0 down vote accepted

I resolved the pb...

  • Set DMZ host at your LAN ip
  • Set your wamp to listen to 8080 and restart service.
  • from an external network go to your public_ip:8080 it's should be work...
share|improve this answer
    
I realize this answer is very old, but this is a terrible idea. Some routers do not have "NAT reflection" (aka "NAT loopback") enabled. This means that forwarded ports cannot be accessed from inside the local network. This is what most likely raised this question. –  Daniel B Mar 2 at 23:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.