1

I'm pretty new to Ubuntu server. I'm running

Distributor ID:
Ubuntu Description:
Ubuntu 12.04.4 LTS Release: 12.04

I have installed Lynx via

sudo apt-get install lynx

everything installed fine but when I try to connect to a website it just seems to time out.

When I run lynx google.com it goes to a blank screen with a blue line at the bottom. There is yellow text on the line which says

"Making HTTP connection to google.com"

but it just sits there.

Eventually after 5 - 6 minutes it just goes back to the normal terminal window

If I run the below on its own

lynx

I get the same blue line with the same text

"Making HTTP connection to google.com"

but after 30 seconds or so it briefly turns to a red line with

"alert!: lynx unable to connect to remote host"

written on it.

I have installed lynx locally and it works fine.

Does anyone have any ideas?

1
  • Is DNS (name resolution) correctly configured on the server? can you successfully ping google.com from it? May 31, 2014 at 19:00

2 Answers 2

1

With help from the above comments and answers I found the issue. My /etc/enviroments file was blank. I followed the instructions in this question

How do I configure proxies without GUI?

Hope this helps someone else

0

Try the following:

lynx -source http://www.google.com | sh

Chek also ~/.lynx maybe there is something wrong with the proxy settings.

1
  • why the | sh at the end?
    – ychaouche
    Jan 24, 2023 at 12:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .