I have a D-Link router and added a Virtual Server (Port Forward) on port 80. My web server (apache) is running on I have reserved this as my static IP address for this machine on the network.

I have an external static IP address, when I navigate to this address it shows me the login page of my modem. When I access it externally it gives HTTP Error 400.

router page

  • You have tried to go to your external.ip.address:80?
    – user589983
    Jun 1 '11 at 21:53
  • Yes, but still no luck.
    – Dejan
    Jun 1 '11 at 22:03
  • 1
    It could be your ISP is blocking external requests on port 80. Many ISPs do that. Try changing the external port to something completely different, like 3555 or whatever, and see if that works.
    – slhck
    Jun 1 '11 at 22:32
  • 3
    First, your router's configuration shouldn't be externally visible. Fix that. Second, it might ignore forwarding port 80 because it's catching it itself for the configuration page.
    – blahdiblah
    Jun 2 '11 at 0:01

You have tested it internally right? Like you try connecting to and it works?

Somethin else to double check. I have seen before that some website when you log in over http auto redirect to https. As you may know this is a different port (443). If this is happening you get an error 400 bad request if the port isn't opern. It is easy to miss as well with it changing just one letter (S). Check that or if anything else is changing in the URL. If so port forward https as well

  • it needed to be configured on my modem as well as on the router.
    – Dejan
    Jun 7 '11 at 18:11
  • Oh right. You never mentioned you had a modem as well...Or to be more exact a modem/router.
    – Mucker
    Jun 7 '11 at 21:37

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.