Why do I get connection closed by foreign host messages when I try to telnet to the port the ODBC ODBC Bridge server is listening on?
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:
- If you are running
tcp_wrappers
, make sure the client machine is allowed to connect to theesoobserver
service on the server machine. Check your/etc/hosts
.allow and/etc/hosts.deny
files. Refer to the man page onhosts_access
andtcp_wrappers
. If youresoobserver
entry ininetd.conf
doesn't contain something liketcpd
, you're probably not runningtcp_wrappers
. By default, the ODBC-ODBC Bridge installation doesn't usetcp_wrappers
. - Check that the script pointed to by the
esoobserver
entry ininetd.conf
exists, is executable, and runs the correct image. - Check your system logs for other possible problems.