bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: telnet gnguyen 3999 : unable to connect to remote host.


From: Marcelo Dalmas
Subject: Re: telnet gnguyen 3999 : unable to connect to remote host.
Date: Fri, 1 Mar 2002 08:16:44 -0300 (EST)

On Fri, 1 Mar 2002, gnguyen wrote:

> Dear sir,
>
> I want to test tcpservice demo in CommonC++-1.9.5 with telnet client to 
> connect.
>
> I type:
>
> $telnet localhost 3999
> Trying 127.0.0.1...
> Connected to localhost
> ....
> Everything very normal, but
>
> $telnet gnguyen 3999
> Trying 172.16.100.100...
> telnet: Unable to connect to remote host : connection refused
>
> Netcard is true, samba client is'n wrong.
>
> Why it isn't? my machine name is gnguyen. Please help to me, Thank you very 
> much.
>
Hi!

Try add in /etc/inetd.conf:

myapp   stream  tcp     nowait          guest   ~/src/myapp/myapp

where:
myapp-> your program's name
~/src/myapp/myapp->  your program

and restart inetd.

Marcelo Dalmas
BRASMAP Sistemas
www.brasmap.com.br
Fone/Fax: (48) 333-2218 ramal 2114




reply via email to

[Prev in Thread] Current Thread [Next in Thread]