Click to See Complete Forum and Search --> : Connection refused when trying to access port


wallg
07-21-2008, 02:02 PM
Server is running HP-UX 11i

I have defined a port and service name in /etc/services-

service_name port_number/tcp

I have setup an entry in /etc/inetd.conf-

service_name stream tcp nowait username scriptname.ksh

When I attempt to access this port from another server, I get the error message-

telnet: Unable to connect to remote host: Connection refused

telnet hostname port_number
or
echo "Test" | telnet hostname port_number


Am I missing something? If not, do you know why I would get this error message.

--------------------------------------------------------------------------------