LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   netscape browser problem (https://www.linuxquestions.org/questions/linux-general-1/netscape-browser-problem-2248/)

gogo 05-02-2001 10:07 AM

Hi,

I saved my php file on /var/www/html/ and it was failed to use netscape to view it at http://localhost/test.php.

A pop-up window shows:

Netscape is unable to locate the server localhost and pls check your server name.

Why?

I used LAN to view web page. I set this linux redhat 7 machine as 192.168.0.3 and the gateway as 192.168.0.1.

Will it be related?

Thanks

gogo

trickykid 05-02-2001 11:00 AM

is your computer named localhost? what if you try the 127.0.0.1 loopback address?

gogo 05-02-2001 11:32 PM

Hi,

I tried 127.0.0.1, 192.168.0.3, localhost and linux01 (host name). All did not work.

It showed that the connection was refused by netscape.

Why?

Thanks

gogo

drjimstuckinwin 05-03-2001 02:48 AM

Are the machines listed in /etc/hosts, and is it your firewall?

gogo 05-03-2001 06:35 AM

Thanks for help.

I solved the problem now. I set the etc/hosts/

But, I forgot to set the hostname in netscape under proxy.

Thanks

gogo


All times are GMT -5. The time now is 04:23 AM.