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 theesoobserverservice on the server machine. Check your/etc/hosts.allow and/etc/hosts.denyfiles. Refer to the man page onhosts_accessandtcp_wrappers. If youresoobserverentry ininetd.confdoesn'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
esoobserverentry ininetd.confexists, is executable, and runs the correct image. - Check your system logs for other possible problems.