httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.Makar Azer" <>
Subject Re: [users@httpd] Next Newbee Question - Cant access host from outside firewall...
Date Tue, 09 May 2006 14:50:06 GMT
I assume is your public ip address
  your ISP might be blocking port 80 so you need to open your httpd.conf and change the following
some other ports beside 80 maybe 8080 or something else:
  # Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#Listen 80
Listen 8080

  Then while you are in httpd.conf also if you don't have a registerd domain name change the
  # If your host doesn't have a registered DNS name, enter its IP address here.
ServerName YOUR EXTERNAL IP:NewPortNumber
  now save httpd.conf and restart your httpd and give it a try
  oh and on your router make sure that port 8080 or whatever you choose is open and if forwarding
requests to your internal IP address where you apache is installed which i assume
  also, depending on you what linux u r using make sure that the firewall is alloing http
requests to go through
  now to access your server from the outside you type 
  Good luck

Nils-Börje Eklöf <> wrote:
  Hope someone can consider this question

When getting Apache 2.2 up and running, and doing well on the local LAN
I would like to access it remotely. BUT it does not work :-(
Errormessage in the browser is "can't find host or DNS-failure"

1. I have checked all possible problem by turning off Norton Antivirus
and such stuff...
2. I have linked all the incoming traffic on port 80 in the firewall to
my local webhost. Even switched the firewall off. 
3. I do not understand what the configure is saying in the part belove.
This are the settings at the moment: 

# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g.
# ServerAdmin # I do not have any own domain
# ServerAdmin # My email, but an error message comes
up when staring up the server when this is switched on

# ServerName gives the name and port that the server uses to identify
# This can often be determined automatically, but we recommend you
# it explicitly to prevent problems during startup.
# If your host doesn't have a registered DNS name, enter its IP address
# ServerName
# ServerName # My remote IP
ServerName # This is my local host IP. The other
alternatives does not help to get remote access as well...
# ServerName localhost:80
# ServerName

Is there any other settings I should consider like Virtual host? Please
give me a hit how I should do.



The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail:
" from the digest:
For additional commands, e-mail:

Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min
or less.
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.
View raw message