The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 05-17-2006
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline
UNIX Hobbyist
 

Join Date: Nov 2004
Location: /World/Asia/MiddleEast/Kuwait/Salmiya
Posts: 513
Host refused connection

Hi,

Actually, I want to know the port where the remote party is coming from. Any ways, I checked my syslog after logging in from the same client and found the following:
Code:
May 17 15:53:43 unix1 in.telnetd[10742]: connect from AGB
It means my KCML client, comes thru telnet(TCP port 23), I forwarded this port 23 from my router to UNIX box(for Remot users i.e. comming from the internet), it reaches UNIX because I can see its log in syslog. But client gets "Host refused connection". There is no problem for the connections comming from local subnet or from the subnets for routes are already added. I checked my /etc/inetd.conf file and found following there:
Code:
telnet  stream  tcp     nowait  root    /usr/sbin/in.tcpd       in.telnetd
telnet  stream  tcp     nowait  root    /usr/sbin/in.telnetd    in.telnetd
So this is not the problem either, as well as hosts.allow has the entry to allow telnet comming from unknown host. I tried to telnet UNIX box from the Internet, but no luck. My default gateway is set properly also and system accepts connections from VPN without any problem, so there is no problem for the connections from unknown hosts.

And I don't know also where system logs the record of rejected connections. I'm totally blank here. Any idea.....

FYI, I'm at SCO UNIXWARE 7.1.1.


Regards,
Tayyab

Last edited by tayyabq8; 05-17-2006 at 10:08 PM.
Reply With Quote