[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1339
  • Last Modified:

Can't use lynx to access certain domains?

Hi, from the command line on my Linux machine, I used lynx to access certain sites...

I can lynx to google.com, no problem, and I can also lynx to sites ending with ".gov.sg".

But for sites ending with ".org.sg", for example, "abc.org.sg", I can't lynx to "abc.org.sg" but I can lynx to "www.abc.org.sg".
Why is this so?
And for sites ending with just ".sg", for example, "abc.sg", I can't lynx to it even after appending "www." in front.
Is there like a config file somewhere that I need to edit or something?
Thanks.
0
killdurst
Asked:
killdurst
  • 6
  • 3
  • 2
  • +1
7 Solutions
 
Chris SandriniSenior System EngineerCommented:
Hard to tell with the information you provided...

I can't lynx to "abc.org.sg"

What is that supposed to mean? Errors? nothing?

Can you browse with your browser on abc.org.sg? You can only lynx if the domain is leading to a webserver. If that is not configured than you wont be able to access.
0
 
TintinCommented:
Can you access the sites successfully in a browser other than lynx?
0
 
gheistCommented:
because ie and firefox add www. and .com to whatever you type in address if first attempt chokes.
0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
killdurstAuthor Commented:
Apologies for this late reply, was away for quite awhile...

Below is the lynx error log when trying to access my site, for example, abc.sg...

Looking up abc.sg first
Looking up abc.sg
Making HTTP connection to abc.sg
Sending HTTP request.
HTTP request sent; waiting for response.
Retrying as HTTP0 request.
Looking up abc.sg
Making HTTP connection to abc.sg
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access `http://abc.sg/'
Alert!: Unable to access document.

lynx: Can't access startfile

-----

I tried with the "www." in front of the URL too.
I can access the site in IE and Firefox, no problem.
0
 
gheistCommented:
To me particular site shows very brief error message.
0
 
killdurstAuthor Commented:
Sorry, forgot to point out that abc.sg is not the actual URL to my site. I'm just using it as an example here. Didn't realise that that site really exists until I went there.

Yeah, so, my site ends with ".sg". I can access it on my normal web browsers, but not in lynx.
0
 
TintinCommented:
Can you post the actual URL you are trying?   I will make it much easier if we can test against the same site.
0
 
killdurstAuthor Commented:
The actual site is narpani.sg.
But I think the server administrator has limited access to the site to only IP addresses from Singapore.
But you can try and let me know, thanks!
0
 
gheistCommented:
CURL says your server drops connections.
0
 
killdurstAuthor Commented:
Sorry for the holdup for this question. I'm going to ask the web server administrator to check on why the site can't be accessed. Will update you guys on the outcome.
0
 
killdurstAuthor Commented:
Hi guys, turns out that traffic to the site was blocked by iptables.
When I flushed the iptables, I can use lynx to access the site successfully.
I checked the site logs, took note of the local IP that lynx used to access the site, and added the IP to the list of IP addresses that is white listed in the iptables.
0
 
killdurstAuthor Commented:
Don't mind if I select my own comment as the solution.
Hopefully anyone encountering a similar problem in the future will try my solution.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now