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 06-07-2004, 06:43 AM   #1
tiang_ono
LQ Newbie
 
Registered: Apr 2004
Location: indonesia
Distribution: red hat 9
Posts: 21

Rep: Reputation: 15
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
 
Old 06-07-2004, 09:07 AM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
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.
 
Old 06-07-2004, 09:22 AM   #3
doehn
LQ Newbie
 
Registered: Jun 2004
Location: Erlangen/Germany
Distribution: Debian 30r2
Posts: 11

Rep: Reputation: 0
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
 
  


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
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-28-2003 11:02 PM
Ping capability but connection refused apc20 Linux - Networking 5 06-05-2003 04:00 PM
ping works, telnet refused ellisdodge Linux - Networking 7 07-01-2002 12:06 PM

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

All times are GMT -5. The time now is 03:49 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration