I am trying run a web server on my static IP address but when I open my IP address its opening my DSL router how can I assign that IP to my computer

any ideas?

migrated from stackoverflow.com Oct 20 '10 at 14:34

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

  • Your static IP address is Global or Private address? If you want to access your local server. Use http://localhost – Ken Ratanachai S. Dec 4 '10 at 16:21

You need to configure your router to provide one of the following

  • DMZ facility in which you specify that your internal machine is inside the DMZ (for every port or a port range)
  • a NATting that maps your external address to your internal machine (choose if just a PAT for webserver or a 1:1)

This will allow external connection going to your router IP to reach your machine. From inside the network just use your local IP

  • NAT -- DMZ Host The DSL router will forward IP packets from the WAN that do not belong to any of the applications configured in the Virtual Servers table to the DMZ host computer. Enter the computer's IP address and click "Apply" to activate the DMZ host. Clear the IP address field and click "Apply" to deactivate the DMZ host. i added my ip address but its still going to router any idea? i added my computer ip address – livetolearn Oct 20 '10 at 15:49
  • Which IP address ? – Sathyajith Bhat Oct 20 '10 at 16:06

Use either of these:

  1. setup virtual server and forward port to webserverip (system ip) in router configuration.
  2. like @livetolearn said: configure webserver ip in DMZ host option in router configuration.

Both will work.

Eg: webserver ip is your system ip like to router ip is log in to put user name and password then configure with choice of option mentioned above

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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