LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   i can ping but connection refused (https://www.linuxquestions.org/questions/linux-networking-3/i-can-ping-but-connection-refused-190634/)

tiang_ono 06-07-2004 06:43 AM

i can ping but connection refused
 
hi all,
i can ping my machine, but when i use ssh to another machine (suse)
connection refused. any idea ?
also, how can i see other IP address connecting to my machine ?
thx

TheOther1 06-07-2004 09:07 AM

Do you have any type of firewall running on the SuSE box? Iknow on RH, you can run lokkit to config the firewall, I would assume there is something like that on SuSE.

For active connections, run netstat -av from command line.

doehn 06-07-2004 09:22 AM

Hi tiang,

try doing

iptables -L

to see, if this port is blocked or if the default policy is to allow for incoming connections.

If denied, try typing

iptables -A INPUT -i <incoming-interface-address> -p TCP -dport 22 -j ACCEPT

Perhaps this will solve the problem.

For further information: www.tldp.org There you can find a HOWTO on firewalls and many other things.

cu doehn


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