LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2016, 04:16 AM   #1
jyoti.264
LQ Newbie
 
Registered: Sep 2016
Posts: 3

Rep: Reputation: Disabled
Failed to connect to ::1: No route to host


Hi Team,

When i run the command "curl http://10.78.1.240:8500/v1/status/peers" on one of the clustered nodes, I get following error message:

curl: (7) Failed to connect to ::1: No route to host

Details below:
[root@VORA1 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.78.1.240 VORA1.ad.company.com
10.78.1.64 VORA2.ad.company.com
10.78.1.151 VORA3.ad.company.com

[root@VORA1 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.78.1.0 * 255.255.255.0 U 1 0 0 eth0
default 10.78.1.1 0.0.0.0 UG 0 0 0 eth0

[root@VORA1 ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=VORA1.ad.company.com
#File /etc/sysconfig/network updated as part of Hardening Process
NETWORKING_IPV6=no

The same error is not seen on other two nodes. Ping to Localhost or ip-address works too.

Thanks,
Jyoti
 
Old 09-08-2016, 07:12 AM   #2
24x7servermanagement
Member
 
Registered: Jul 2016
Location: India
Distribution: CentOS, Redhat, Ubuntu and Debian
Posts: 57

Rep: Reputation: Disabled
What is the output of
Code:
netstat -lnp
, so we can see which processes are listening to which ports on the server.
 
Old 09-08-2016, 07:20 AM   #3
jyoti.264
LQ Newbie
 
Registered: Sep 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi,

Thank you for replying. Please see the output below:

[root@VORA1 ~]# netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8670 0.0.0.0:* LISTEN 5496/python2
tcp 0 0 0.0.0.0:18080 0.0.0.0:* LISTEN 7422/java
tcp 0 0 10.78.1.240:49152 0.0.0.0:* LISTEN 3835/v2dlog_server
tcp 0 0 0.0.0.0:49155 0.0.0.0:* LISTEN 6989/java
tcp 0 0 0.0.0.0:2181 0.0.0.0:* LISTEN 4370/java
tcp 0 0 10.78.1.240:43206 0.0.0.0:* LISTEN 6989/java
tcp 0 0 0.0.0.0:4040 0.0.0.0:* LISTEN 6989/java
tcp 0 0 0.0.0.0:8040 0.0.0.0:* LISTEN 6597/java
tcp 0 0 0.0.0.0:8042 0.0.0.0:* LISTEN 6597/java
tcp 0 0 10.78.1.240:8300 0.0.0.0:* LISTEN 6927/consul
tcp 0 0 10.78.1.240:8301 0.0.0.0:* LISTEN 6927/consul
tcp 0 0 0.0.0.0:38893 0.0.0.0:* LISTEN 4370/java
tcp 0 0 10.78.1.240:8302 0.0.0.0:* LISTEN 6927/consul
tcp 0 0 0.0.0.0:45454 0.0.0.0:* LISTEN 6597/java
tcp 0 0 0.0.0.0:37487 0.0.0.0:* LISTEN 1969/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1920/rpcbind
tcp 0 0 10.78.1.240:3888 0.0.0.0:* LISTEN 4370/java
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 3129/java
tcp 0 0 10.78.1.240:8020 0.0.0.0:* LISTEN 4548/java
tcp 0 0 10.78.1.240:50070 0.0.0.0:* LISTEN 4548/java
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2258/sshd
tcp 0 0 0.0.0.0:36055 0.0.0.0:* LISTEN 6989/java
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2012/cupsd
tcp 0 0 0.0.0.0:8440 0.0.0.0:* LISTEN 3129/java
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 3075/postmaster
tcp 0 0 0.0.0.0:34457 0.0.0.0:* LISTEN 6989/java
tcp 0 0 0.0.0.0:8441 0.0.0.0:* LISTEN 3129/java
tcp 0 0 0.0.0.0:13562 0.0.0.0:* LISTEN 6597/java
tcp 0 0 :::9225 :::* LISTEN 4255/vora-tools
tcp 0 0 :::38250 :::* LISTEN 1969/rpc.statd
tcp 0 0 :::111 :::* LISTEN 1920/rpcbind
tcp 0 0 :::8400 :::* LISTEN 6927/consul
tcp 0 0 :::80 :::* LISTEN 2326/httpd.worker
tcp 0 0 :::9331 :::* LISTEN 4255/vora-tools
tcp 0 0 :::8500 :::* LISTEN 6927/consul
tcp 0 0 :::9300 :::* LISTEN 4255/vora-tools
tcp 0 0 :::22 :::* LISTEN 2258/sshd
tcp 0 0 :::8600 :::* LISTEN 6927/consul
tcp 0 0 :::5432 :::* LISTEN 3075/postmaster
udp 0 0 127.0.0.1:874 0.0.0.0:* 1969/rpc.statd
udp 0 0 10.78.1.240:8301 0.0.0.0:* 6927/consul
udp 0 0 10.78.1.240:8302 0.0.0.0:* 6927/consul
udp 0 0 0.0.0.0:111 0.0.0.0:* 1920/rpcbind
udp 0 0 0.0.0.0:631 0.0.0.0:* 2012/cupsd
udp 0 0 10.78.1.240:123 0.0.0.0:* 2574/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 2574/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 2574/ntpd
udp 0 0 0.0.0.0:33947 0.0.0.0:* 3129/java
udp 0 0 0.0.0.0:60465 0.0.0.0:* 1969/rpc.statd
udp 0 0 0.0.0.0:823 0.0.0.0:* 1920/rpcbind
udp 0 0 0.0.0.0:68 0.0.0.0:* 1995/dhclient
udp 0 0 :::40042 :::* 1969/rpc.statd
udp 0 0 :::111 :::* 1920/rpcbind
udp 0 0 :::123 :::* 2574/ntpd
udp 0 0 :::8600 :::* 6927/consul
udp 0 0 :::823 :::* 1920/rpcbind
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 14114 2700/Xorg /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 14599 2809/gnome-session /tmp/.ICE-unix/2809
unix 2 [ ACC ] STREAM LISTENING 14666 2816/gconfd-2 /tmp/orbit-gdm/linc-b00-0-e48f26fe9869
unix 2 [ ACC ] STREAM LISTENING 14735 2809/gnome-session /tmp/orbit-gdm/linc-af9-0-13602675eff1f
unix 2 [ ACC ] STREAM LISTENING 14833 2835/gnome-settings /tmp/orbit-gdm/linc-b13-0-f83bc30308c5
unix 2 [ ACC ] STREAM LISTENING 14877 2837/bonobo-activat /tmp/orbit-gdm/linc-b15-0-291a6901b5717
unix 2 [ ACC ] STREAM LISTENING 14882 2834/at-spi-registr /tmp/orbit-gdm/linc-b12-0-38ae72a7b5808
unix 2 [ ACC ] STREAM LISTENING 14982 2845/metacity /tmp/orbit-gdm/linc-b1d-0-7f3b0fa2ad719
unix 2 [ ACC ] STREAM LISTENING 15069 2846/gdm-simple-gre /tmp/orbit-gdm/linc-b1e-0-1956effe49bd
unix 2 [ ACC ] STREAM LISTENING 15138 2847/polkit-gnome-a /tmp/orbit-gdm/linc-b1f-0-3812f32e75564
unix 2 [ ACC ] STREAM LISTENING 15187 2848/plymouth-log-v /tmp/orbit-gdm/linc-b20-0-6121981178f26
unix 2 [ ACC ] STREAM LISTENING 14598 2809/gnome-session @/tmp/.ICE-unix/2809
unix 2 [ ACC ] STREAM LISTENING 15233 2852/gnome-power-ma /tmp/orbit-gdm/linc-b24-0-590b05c68b909
unix 2 [ ACC ] STREAM LISTENING 16668 3075/postmaster /tmp/.s.PGSQL.5432
unix 2 [ ACC ] STREAM LISTENING 11425 2057/hald @/var/run/hald/dbus-Mh6oGebOki
unix 2 [ ACC ] STREAM LISTENING 14113 2700/Xorg @/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 14420 2697/gdm-simple-sla @/tmp/gdm-greeter-AAOUURsK
unix 2 [ ACC ] STREAM LISTENING 10896 1920/rpcbind /var/run/rpcbind.sock
unix 2 [ ACC ] STREAM LISTENING 10949 1933/dbus-daemon /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 7832 1/init @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM LISTENING 17659 3129/java /tmp/.java_pid3129.tmp
unix 2 [ ACC ] STREAM LISTENING 11320 2012/cupsd /var/run/cups/cups.sock
unix 2 [ ACC ] STREAM LISTENING 11420 2057/hald @/var/run/hald/dbus-s96eIC2aa9
unix 2 [ ACC ] STREAM LISTENING 11387 2045/acpid /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 11967 2241/mcelog /var/run/mcelog-client
unix 2 [ ACC ] STREAM LISTENING 14546 2808/dbus-daemon @/tmp/dbus-WYm567amOj
unix 2 [ ACC ] STREAM LISTENING 12199 2315/abrtd /var/run/abrt/abrt.socket
unix 2 [ ACC ] STREAM LISTENING 14574 2697/gdm-simple-sla @/tmp/gdm-session-BnoYFNOJ

Last edited by jyoti.264; 09-09-2016 at 03:34 AM. Reason: formatting issue
 
Old 09-09-2016, 03:35 AM   #4
jyoti.264
LQ Newbie
 
Registered: Sep 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Any update on this please ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 6 connect to host 10.1.93.101 port 50001: No route to host tim head Linux - Networking 2 08-16-2015 05:18 AM
telnet: Unable to connect to remote host: No route to host grob115 Linux - Networking 3 07-30-2010 10:18 AM
ssh: connect to host .....No route to host soumyacs Linux - Newbie 5 10-27-2009 10:03 AM
Connect Failed: not route to host frankjp Linux - Networking 4 06-15-2005 11:09 PM
ftp: connect: No route to host agki Linux - Networking 2 03-09-2005 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration