LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can access site address but not hostip: dag apt (https://www.linuxquestions.org/questions/linux-networking-3/can-access-site-address-but-not-hostip-dag-apt-194414/)

tomhemba 06-16-2004 09:58 PM

can access site address but not hostip: dag apt
 
I'm using apt-get to try to access the dag apt repository among others and I've run into a curious problem.

Running apt-get I get this message:
Failed to fetch http://apt.sw.be/fedora/1/en/i386/base/pkglist.dag Could not connect to apt.sw.be:80 (32.1.7.112), connection timed out

So in a terminal I typed:
gethostip apt.sw.be

and it returned:
32.1.7.112

OK so here's what's wierd:
In my browser (mozilla or konqueror) I type in the address: apt.sw.be and the page comes up no problem. Then in the same browser I type 32.1.7.112 (which should be the same page) and it can't find the page. In konqueror I get this error:

An error occured while loading http://32.1.7.112:
Timeout on server
Connection was to 32.1.7.112 at port 80

I'm running a new clean install of fc1 using a dsl connection. I had this working before on the same computer with fc1 using kppp. Currently I'm having difficulty connecting to other repositories as well, but not all of them and I can't quite establish a clear reproducible problem except for the one above.

Anyone have any suggestions?? Thanks.

zeropash 06-17-2004 01:41 AM

do you use a proxy for the browser?
if so are you sure that you have set up the proxy correctly for apt-get ?
make sure that the http_proxy variable is exported or make changes to /etc/apt/apt.conf file (change the proxy) the http_proxy will look like.
http_proxy=http://proxy.mydomain.com:8080/
your browser maybe able to contact just because it goes tthorough the proxy

tomhemba 06-17-2004 09:01 PM

I didn't setup a proxy when I installed fc1 - would it be setup automatically? My browser is set to a "direct connection to internet" I don't know what my local domain name is - I didn't establish any myself. I tried editing the file you mentioned anyway but then apt just stalled on all connections. As it is I'm able to connect to some repositories, but not dag apt, nor freshrpms, nor kde. Why would I be able to connect to some, but not others. I have a hard time believing that dag, freshrpms and kde have all been down for the last 3 days.

Please, anyone, I'm stranded here without apt working!


All times are GMT -5. The time now is 10:42 PM.