Re: can't ping any port on loacalhost



heavytull <heavytull@xxxxxxxxxxx> writes:

I can ping on localhost as following:

~$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.034 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.034 ms

but i canoot ping any port:
$ ping localhost:119
ping: unknown host localhost:119

while port 119 is used by leafnode and i can get news from knode while
configures to collect from leafnode server.

$ ping localhost:631
ping: unknown host localhost:631

while cups is running

it is same when i ping ports of the local computer bridge connected.

because you simply can not ping ports.

You want to do a portscan. Google up how to do this for your specific
Linux.


when i ssh an account on it it says:

~$ ssh user@xxxxxxxxxxxx
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx #intentionnaly removed
Please contact your system administrator.
Add correct host key in /home/user/.ssh/known_hosts to get rid of this message.
Offending key in /home/user/.ssh/known_hosts:3
RSA host key for 192.168.2.22 has changed and you have requested strict
checking.
Host key verification failed.


while i was used to connect the local computer before with ssh.

And?

Did you follow the advice given in the error message?
.



Relevant Pages

  • pinging without root privileges
    ... How does one tests for the existence of another host, ... I've still not been able to get a rudimentary ping routine ... feasible, since I want to be able to do this w/out root privileges, so ... an unbound port, and looking for a port unreachable message. ...
    (comp.unix.programmer)
  • Re: pinging without root privileges
    ... I've still not been able to get a rudimentary ping routine ... > feasible, since I want to be able to do this w/out root privileges, so ... > an unbound port, and looking for a port unreachable message. ... Your inventory of facts about network-level host interactions is far ...
    (comp.unix.programmer)
  • Re: connecting via broadband?
    ... > Ping statistics for 193.252.22.137: ... >> mail server and that it is responsive so you get a mail session ... >> host that responds to 'ping' does NOT mean the server program is ... >> actually running or responsive on that host. ...
    (microsoft.public.outlook.general)
  • Re: host availability
    ... >>>google.com, my default gateway, comcast's mail server etc. ... a host was "up or down". ... If you don't get an answer to a ping request, ... happened to reset the interface right then, remote system got trojaned ...
    (comp.security.firewalls)
  • Re: cant ping any port on loacalhost
    ... PING localhost 56bytes of data. ... ping: unknown host localhost:119 ... while port 119 is used by leafnode and i can get news from knode while ... It is also possible that the RSA host key has just been changed. ...
    (alt.os.linux)