1

Good afternoon all I am having an issue with networking on ubuntu 16.04 server.

I cannot update my server, wget or curl anything but everything else seems to be working such as ping, nslookup etc. apt-get gets stuck at 0% and the rest just hang.

apt-get update

0% [Connecting to us.archive.ubuntu.com (91.189.91.23)]

curl response

curl -v google.com
* Rebuilt URL to: google.com/
*   Trying 172.217.9.14...
*   Trying 2607:f8b0:4000:812::200e...
* Immediate connect fail for 2607:f8b0:4000:812::200e: Cannot assign requested address
*   Trying 2607:f8b0:4000:812::200e...

wget response

wget google.com
--2018-05-02 15:37:19--  http://google.com/
Resolving google.com (google.com)... 172.217.9.14, 2607:f8b0:4000:812::200e
Connecting to google.com (google.com)|172.217.9.14|:80...

things I have done.

Checked for firewall settings, turned off UFW Forced ubuntu to always try ipv4 first used nslookup, dig, and ping which all work fine restarted network-manager

Any idea where else to go from here?

dig output

    dig www.google.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14996
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.google.com.            IN  A

;; ANSWER SECTION:
www.google.com.     37  IN  A   172.217.9.164

;; Query time: 12 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed May 02 15:17:14 UTC 2018
;; MSG SIZE  rcvd: 59

nslookup output

    nslookup google.com
Server:     8.8.8.8
Address:    8.8.8.8#53

Non-authoritative answer:
Name:   google.com
Address: 172.217.9.14

ping output

64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=1 ttl=54 time=4.13 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=2 ttl=54 time=4.13 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=3 ttl=54 time=4.17 ms
  • It looks like something is blocking port 80 outbound. Are you sure there is no other firewall involved? – Sebastian Stark May 2 '18 at 18:03
  • Thanks for taking the time to respond @SebastianStark! I have checked if iptables is running as well as ufw, both are turned off at this time. Could there be a malconfigured network file causing this? – hj87 May 2 '18 at 19:53
  • I mean some other firewall in your network, on the gateway router perhaps. – Sebastian Stark May 3 '18 at 6:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.