LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Red Hat - Browser does not fetch website but ping works (https://www.linuxquestions.org/questions/red-hat-31/red-hat-browser-does-not-fetch-website-but-ping-works-219539/)

learningkid 08-18-2004 11:08 PM

Red Hat - Browser does not fetch website but ping works
 
Red Hat Linux 9.0
attached to an intranet using DNS and DHCP

Problem:
When I ping yahoo.com, the packets are returned with no loss
But I am not able to view the "yahoo.com" website content in the borwser.
The browser waits for a long time with no reply.

System seurity level set appropriately: DHCP,HTTP,SMTP incoming enabled
resolv.conf settings contain:name search , namerserver entries

Got any solution?
I want the browser to display the content of website!

pingu 08-19-2004 02:17 AM

Do you have a proxy? If so you must tell browser about it. (Tools->options is a normal place to look for proxy settings.)

learningkid 08-20-2004 07:09 AM

Yah,
I have configured the proxy as a script ( as per Network Admin) and provided the URL rewuired in the browser.

Here are the error messages from the browsers for your reference:

1Konquerer Web Browser
An error occured while loading http://www.google.co.in:


Timeout on server
Connection was to www.google.co.in at port 80





2Mozilla webbrowser ( error dialog )
The operation timedout when contacting www.google.co.in

regards

learningkid 09-12-2004 11:34 PM

hosts was the solution
 
I found out a solution that went good!

Just enter the IP address of my machine in the
hosts
file of /etc/hosts

with the domain and hostname entries:

IP domain hostname
xxx.xx.x.xx some.domain some


But beware!! This doesnot work if the DHCP changes the IP the next time for your machine!


All times are GMT -5. The time now is 11:48 PM.