LinuxQuestions.org
Help answer threads with 0 replies.
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 07-27-2009, 10:05 AM   #1
smrutijena
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Wink unable to connect to remote server


Hello

I install one server in my system(linux 5.0) and accessing that server through the 127.0.0.1 private ip address(lo).

While i connect to a remote server for validating registry it gives me the error and unable to connect to remote server.

Will some body help me out on this regard.

here some of the files i give here in below to know my system network configuration

/etc/hosts
------------

127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
127.0.0.1 cp.softidsolutions.org

/etc/hosts.allow
-----------------

ALL: ALL

Network route
------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

#ifconfig

eth0 Link encap:Ethernet HWaddr 00:133A:6D:C0
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:d3ff:feda:6dc0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16026 errors:0 dropped:0 overruns:0 frame:0
TX packets:15334 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9854997 (9.3 MiB) TX bytes:3107405 (2.9 MiB)
Interrupt:185 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20207 errors:0 dropped:0 overruns:0 frame:0
TX packets:20207 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8565900 (8.1 MiB) TX bytes:8565900 (8.1 MiB)

While i use Ping command with destination ip address
e.g
----
#ping -b 192.168.1.0

WARNING: pinging broadcast address
PING 192.168.1.0 (192.168.1.0) 56(84) bytes of data.

--- 192.168.1.0 ping statistics ---
35 packets transmitted, 0 received, 100% packet loss, time 33995ms

#ping -b 169.254.0.0

PING 169.254.0.0 (169.254.0.0) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=1 Destination Host Unreachable
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
From 192.168.1.2 icmp_seq=3 Destination Host Unreachable

--- 169.254.0.0 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4001ms
, pipe 3

Any suggestion is appreciate
Thanks!
 
Old 07-27-2009, 10:20 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by smrutijena View Post
Hello

I install one server in my system(linux 5.0)
linux has not yet got past version 2.6 - could you be referring to the distribution version? Possibly Redhat Enterprise Linux 5.0?
Quote:
and accessing that server through the 127.0.0.1 private ip address(lo).
So the server you want to access is on the same computer?

Quote:
While i connect to a remote server for validating registry it gives me the error and unable to connect to remote server.
Quote exact error.

Let me get this right: you want to access a server on local host, but you want to validate on a remote server??

It is the remote server you cannot access?

How are you trying to access it?
Can you ping the remote server?

Quote:
While i use Ping command with destination ip address
e.g
----
#ping -b 192.168.1.0

WARNING: pinging broadcast address
PING 192.168.1.0 (192.168.1.0) 56(84) bytes of data.

--- 192.168.1.0 ping statistics ---
35 packets transmitted, 0 received, 100% packet loss, time 33995ms

#ping -b 169.254.0.0

PING 169.254.0.0 (169.254.0.0) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=1 Destination Host Unreachable
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
From 192.168.1.2 icmp_seq=3 Destination Host Unreachable

--- 169.254.0.0 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4001ms
, pipe 3
That IP setup looks odd to me - I take it that the second one is the server you cannot get to?

did you check the obvious?
check that 192.254.0.0 is correct
check that the server accepts icmp ping requests.
What sort of server is this? Can any other machines use it?
 
Old 07-28-2009, 12:20 AM   #3
smrutijena
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Unhappy

Thanks Simon for your valuable time.


Let me to clear that i install CP Server in my System and i need to validate the license which i have with the registry of psoft.com .
I need to connect to the remote server of psoft.com. but while validating the license it gives error as Unable to connect to remote server to check Single Server Edition license.

while i am using ping commands in any remote ip address it works.
e.g
[root@cp ~]# ping license.psoft.net

PING license.psoft.net (194.44.204.17) 56(84) bytes of data.
64 bytes from 194.44.204.17: icmp_seq=1 ttl=47 time=272 ms
64 bytes from 194.44.204.17: icmp_seq=2 ttl=46 time=274 ms
64 bytes from 194.44.204.17: icmp_seq=3 ttl=46 time=285 ms
64 bytes from 194.44.204.17: icmp_seq=4 ttl=47 time=272 ms

--- license.psoft.net ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 8193ms
rtt min/avg/max/mdev = 272.403/276.464/285.983/5.550 ms


e.g
[root@cp ~]# ping www.yahoo.com

PING www-real.wa1.b.yahoo.com (69.147.76.15) 56(84) bytes of data.
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=1 ttl=52 time=271 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=2 ttl=52 time=285 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=3 ttl=52 time=271 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=4 ttl=52 time=271 ms

--- www-real.wa1.b.yahoo.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 271.259/274.923/285.295/6.024 ms



If i am using this ping commands in any ip address within our local network it works.

e.g

[root@cp ~]# ping 192.168.1.2

PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=2.23 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=2.19 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=128 time=1.92 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=128 time=1.85 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=128 time=2.12 ms

--- 192.168.1.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 1.859/2.066/2.231/0.156 ms

but while i use ping command with the destination ip address of our network
it shows destination unreachable.

[root@cp ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

[root@cp ~]# ping 169.254.0.0(Destination ip address)

PING 169.254.0.0 (169.254.0.0) 56(84) bytes of data.
From 192.168.1.4 icmp_seq=2 Destination Host Unreachable
From 192.168.1.4 icmp_seq=3 Destination Host Unreachable
From 192.168.1.4 icmp_seq=4 Destination Host Unreachable

--- 169.254.0.0 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3

Quote:
What sort of server is this? Can any other machines use it?

This is a CP server and at present no other m/c use it.

Any help is appreciate.

Thanks!

Last edited by smrutijena; 07-28-2009 at 12:30 AM.
 
Old 07-28-2009, 12:34 AM   #4
smrutijena
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Unhappy

Thanks Simon for your valuable time.


Let me to clear that i install CP Server in my System and i need to validate the license which i have with the registry of psoft.com .
I need to connect to the remote server of psoft.com. but while validating the license it gives error as Unable to connect to remote server to check Single Server Edition license.

while i am using ping commands in any remote ip address it works.
e.g
[root@cp ~]# ping license.psoft.net

PING license.psoft.net (194.44.204.17) 56(84) bytes of data.
64 bytes from 194.44.204.17: icmp_seq=1 ttl=47 time=272 ms
64 bytes from 194.44.204.17: icmp_seq=2 ttl=46 time=274 ms
64 bytes from 194.44.204.17: icmp_seq=3 ttl=46 time=285 ms
64 bytes from 194.44.204.17: icmp_seq=4 ttl=47 time=272 ms

--- license.psoft.net ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 8193ms
rtt min/avg/max/mdev = 272.403/276.464/285.983/5.550 ms


e.g
[root@cp ~]# ping www.yahoo.com

PING www-real.wa1.b.yahoo.com (69.147.76.15) 56(84) bytes of data.
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=1 ttl=52 time=271 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=2 ttl=52 time=285 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=3 ttl=52 time=271 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=4 ttl=52 time=271 ms

--- www-real.wa1.b.yahoo.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 271.259/274.923/285.295/6.024 ms



If i am using this ping commands in any ip address within our local network it works.

e.g

[root@cp ~]# ping 192.168.1.2

PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=2.23 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=2.19 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=128 time=1.92 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=128 time=1.85 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=128 time=2.12 ms

--- 192.168.1.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 1.859/2.066/2.231/0.156 ms

but while i use ping command with the destination ip address of our network
it shows destination unreachable.

[root@cp ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

[root@cp ~]# ping 169.254.0.0(Destination ip address)

PING 169.254.0.0 (169.254.0.0) 56(84) bytes of data.
From 192.168.1.4 icmp_seq=2 Destination Host Unreachable
From 192.168.1.4 icmp_seq=3 Destination Host Unreachable
From 192.168.1.4 icmp_seq=4 Destination Host Unreachable

--- 169.254.0.0 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3


Any help is appreciate.

Thanks!
 
Old 07-28-2009, 12:41 AM   #5
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Quote:
[root@cp ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
what is the default gateway for 169.254.0.0 network??
 
Old 07-28-2009, 02:05 AM   #6
smrutijena
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Unhappy

Thanks kirukan

quote:
what is the default gateway for 169.254.0.0 network??


#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0


Any help is appreciated.
Thanks!

Last edited by smrutijena; 07-28-2009 at 03:06 AM.
 
  


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
ssh unable to connect remote pc satimis Linux - Networking 11 07-29-2009 09:46 PM
xhost issues: remote system unable to connect DaFrEQ SUSE / openSUSE 1 05-21-2008 09:45 PM
telnet: Unable to connect to remote host: Connection refused stuckz Fedora - Installation 2 06-19-2007 10:21 AM
Unable to connect to remote server Suresh Chowta Linux - Networking 1 02-13-2005 07:29 AM
telnet: Unable to connect to remote host: Connection refused batham Linux - Networking 0 07-07-2003 06:29 PM

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

All times are GMT -5. The time now is 10:10 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