I tried to connect tcl to a socket on another host.
When I was doing it from the same host there was no problem.
But trying from another host, I get the error:
Error: Couldn't open socket: connection refused.
Is this a bug or have I done something wrong?:
socket $kernel_host $WRITE_SOCKET
Thanks,
Sven
--
Dipl.-Ing. Sven Bauhan
Technische Universitaet Hamburg-Harburg
Tel.: +49-40-42878-2165
Fax.: +49-40-42878-2281
There must be something wrong between the two machines.
You are receiving a TCP level error that Tcl is reporting
back to you. Can you telnet to that port from that
machine, or use some other tool to access the open port?
--
Jeffrey Hobbs The Tcl Guy
jeffrey.hobbs at scriptics.com Scriptics Corp.
Sven
Sven Bauhan wrote:
> Hello,
>
> I tried to connect tcl to a socket on another host.
> When I was doing it from the same host there was no problem.
> But trying from another host, I get the error:
> Error: Couldn't open socket: connection refused.
> Is this a bug or have I done something wrong?:
> socket $kernel_host $WRITE_SOCKET
>
I'm still a little mystified, because people use ::http::geturl
all the time, which is essentially Tcl connecting to a web server,
most likely written in C (unless its tclhttpd) without problem.
Are there really no other routing anomalies for these machines?