--- On Mon, 6/8/09, Lowell Gilbert
wrote:
From: Lowell Gilbert
Subject: Re: tcllib error while installing tcllib on amd64 system running
freebsd 7.0
To: "Dino Vliet"
Cc: freebsd-questions@freebsd.org, m...@freebsd.org, m...@aldan.algebra.com
Date: Monday, June 8, 2009, 10:56 PM
Dino Vliet writes:
> [* ] [8.6b1] comm !Connect to remote failed: couldn't
> open socket: connection timed out
Taking a look in the comm.test file, it looks to me like you already had
something on port 12345, so an attempt to open such a port failed.
--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
Hi thanks for your answer but I didn't manage to solve this by looking at your
file.
My open ports:
[r...@dual /usr/ports/devel/tcllib]# netstat -na | grep tcp
tcp4 0 0 192.168.2.103.22 192.168.2.100.43051 ESTABLISHED
tcp4 0 0 127.0.0.1.65033 *.* LISTEN
tcp4 0 0 192.168.2.103.22 192.168.2.100.43050 ESTABLISHED
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN
tcp4 0 0 127.0.0.1.5432 *.* LISTEN
tcp6 0 0 ::1.5432 *.* LISTEN
vi work/tcllib-1.11/modules/comm/comm.test
Going to the port line gives me: (I changed it manually to 47557)
test comm-5.0 {-port already in use} {
# First start a server on port 12345
set port 47557
catch {set shdl [socket -server foo $port]}
catch {::comm::comm new bar -port $port -listen 1 -local 0} msg
catch {close $shdl}
unset -nocomplain shdl port
set msg
} {couldn't open socket: address already in use}
The error message I get is:
[* ] [8.6b1] comm !Connect to remote failed: couldn't open
socket: connection timed out
!while executing
!"::comm::comm_cmd_send ::comm::comm 65033 {slaveat 51332}"
!("uplevel" body line 1)
!invoked from within
!"uplevel 1 [linsert $args 0 $method $chan]"
!(procedure "::comm::comm" line 6)
!invoked from within
!"::comm::comm send [lindex $argv 2] [list slaveat [::comm::comm self]]"
!(file "/usr/ports/devel/tcllib/work/tcllib-1.11/spawn" line 9)
Can there be an issue because I have the pf firewall enabled which blocks all?
Brgds
Dino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"