httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.Makar Azer" <m2a...@yahoo.com>
Subject Re: [users@httpd] Next Newbee Question - Cant access host from outside firewall...
Date Tue, 09 May 2006 14:50:06 GMT
I assume 81.227.242.105 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 12.34.56.78:80
#Listen 80
Listen 8080

  Then while you are in httpd.conf also if you don't have a registerd domain name change the
following:
   
  # If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80
ServerName YOUR EXTERNAL IP:NewPortNumber
  ServerName 81.227.242.105:8080
   
  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 192.168.1.33
   
  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 
  http://YourExternalIP:NewPort#
  http://81.227.242.105:8080
   
  Good luck
  


Nils-Börje Eklöf <nisse_b@telia.com> 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. admin@your-domain.com
# ServerAdmin webmaster@somenet.com # I do not have any own domain
# ServerAdmin nisse_b@telia.com # 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
itself.
# This can often be determined automatically, but we recommend you
specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address
here.
# ServerName www.somenet.com:80
# ServerName 81.227.242.105:80 # My remote IP
ServerName 192.168.1.33:80 # This is my local host IP. The other
alternatives does not help to get remote access as well...
# ServerName localhost:80
# ServerName 192.168.1.1:80

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

Thanks

/Nils




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



		
---------------------------------
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.
Mime
View raw message