Trouble accessing Linux machine running Apache
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers General Talk > Trouble accessing Linux machine running Apache




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Trouble accessing Linux machine running Apache  
Harry Devine


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-04 11:07 PM

I just installed Apache 2.0.50 and have the httpd service running.  If
I use the browser on the Linux machine (RH9.0) and access local host
(http://localhost) or the machine's IP, I get the page to show up.
However, if I try and access the web server from another PC, I get the
"Page cannot be displayed...Cannot find server or DNS entry".

This seems like a fundamental thing to do, and I can't see why I can
see the web server pages locally, but not over the network.  Any help
would be appreciated.

Thanks,
Harry





[ Post a follow-up to this message ]



    Re: Trouble accessing Linux machine running Apache  
Georg Stahl


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-04 11:07 PM

Harry Devine wrote:

> I just installed Apache 2.0.50 and have the httpd service running.  If
> I use the browser on the Linux machine (RH9.0) and access local host
> (http://localhost) or the machine's IP, I get the page to show up.
> However, if I try and access the web server from another PC, I get the
> "Page cannot be displayed...Cannot find server or DNS entry".
>
> This seems like a fundamental thing to do, and I can't see why I can
> see the web server pages locally, but not over the network.  Any help
> would be appreciated.

If you are using a proxy? If yes you should bypass the proxy for your
server.

If using Mozilla go to: "Edit | Preferences | Advanced | Proxies" and add
your server to the no-proxy-list.

If using IE (I only know for the German version): "Extras | Internet
Optionen | Verbindungen | Erweitert".

Georg





[ Post a follow-up to this message ]



    Re: Trouble accessing Linux machine running Apache  
Tim


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-30-04 07:49 AM

On 29 Jul 2004 08:50:44 -0700,
hdevine@ourapplecart.com (Harry Devine) posted:

> I just installed Apache 2.0.50 and have the httpd service running.  If
> I use the browser on the Linux machine (RH9.0) and access local host
> (http://localhost) or the machine's IP, I get the page to show up.
> However, if I try and access the web server from another PC, I get the
> "Page cannot be displayed...Cannot find server or DNS entry".

Well, if you're trying to access that machine from another one, using
http://127.0.0.1/ or http://localhost/ that's not going to work (those
addresses always refer back to the machine you're currently on).

But if you're using the network address for the PC (e.g. like 192.168.0.1
or internet addresses), then you shouldn't have any problems.  Of course,
you have to set up the server to listen for connections on those addresses
(the default installation usually does), and you have to allow it through
your firewall (if you have one).

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary).  But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.





[ Post a follow-up to this message ]



    Re: Trouble accessing Linux machine running Apache  
Harry Devine


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-30-04 12:53 PM

Tim <tim@mail.localhost.invalid> wrote in message news:<11j3y8v9fjgmx.1uyy2qli12vzj$.dlg@40t
ude.net>...
> On 29 Jul 2004 08:50:44 -0700,
> hdevine@ourapplecart.com (Harry Devine) posted:
> 
>
> Well, if you're trying to access that machine from another one, using
> http://127.0.0.1/ or http://localhost/ that's not going to work (those
> addresses always refer back to the machine you're currently on).
>
> But if you're using the network address for the PC (e.g. like 192.168.0.1
> or internet addresses), then you shouldn't have any problems.  Of course,
> you have to set up the server to listen for connections on those addresses
> (the default installation usually does), and you have to allow it through
> your firewall (if you have one).


The httpd.conf file has port 80 configured by default.  I can access
the machine locally using http://127.0.0.1, http://localhost, and
http://<machine ip>, but accessing it from another machine on the
network using the IP doesn't work.  I don't have any firewall in
between.  In fact, the Linux box is plugged into a hub in my office
and is right next to my main Win2K machine (the one I am using IE on
to connect to the Linux web server).

Thanks for any help.
Harry





[ Post a follow-up to this message ]



    Re: Trouble accessing Linux machine running Apache  
Tim


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-31-04 10:53 PM

On 30 Jul 2004 03:31:50 -0700,
hdevine@ourapplecart.com (Harry Devine) posted:

> The httpd.conf file has port 80 configured by default.  I can access
> the machine locally using http://127.0.0.1, http://localhost, and
> http://<machine ip>, but accessing it from another machine on the
> network using the IP doesn't work.  I don't have any firewall in
> between.  In fact, the Linux box is plugged into a hub in my office
> and is right next to my main Win2K machine (the one I am using IE on
> to connect to the Linux web server).

Are you sure you don't have any firewalling?  You mentioned Red Hat 9
Linux, before, and by default it blocks access to port 80.  As the root
user you can type "iptables -L -n" into the CLI and look for any rules
mentioning port 80 as input or output rules.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary).  But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register