First, check all the points listed in Why do I get connection refused errors from the client?
"Connection closed by foreign host" implies that you got a connection then it was prematurely disconnected.
If you are connecting to a Linux or UNIX server, check the following:
tcp_wrappers
, make sure the client machine is allowed to connect to the esoobserver
service on the server machine. Check your /etc/hosts
.allow and /etc/hosts.deny
files. Refer to the man page on hosts_access
and tcp_wrappers
. If your esoobserver
entry in inetd.conf
doesn't contain something like tcpd
, you're probably not running tcp_wrappers
. By default, the ODBC-ODBC Bridge installation doesn't use tcp_wrappers
.esoobserver
entry in inetd.conf
exists, is executable, and runs the correct image.