Easysoft ODBC-ODBC Bridge

Why do I get connection closed by foreign host messages when I try to telnet to the port the server is listening on?

Last Reviewed:
8th January 2024

First, check all the points under the question Why do I get connection refused errors from the client?

Connection closed by foreign host implies you got a connection then it was prematurely disconnected.

If you are connecting to a non-Windows server then you should check the following:

  1. If you are running tcpwrappers, make sure the client host is allowed to connect to the esoobserver service on the server machine. You will need to check your /etc/hosts.allow and /etc/hosts.deny files. See the man page on hosts_access and tcpwrappers. If your esoobserver entry in inetd.conf does not contain something like tcpd then you are probably not running tcpwrappers. Note that the default installation will not use tcpwrappers as this is a site consideration.
  2. Check that the script pointed to by the esoobserver entry in the inetd.conf file exists, is executable and runs the correct image. If you have not linked the Easysoft ODBC-ODBC Bridge server with an ODBC driver then this will be the problem. To access a remote database the server component of the ODBC-ODBC Bridge needs a local ODBC Driver.
  3. Check your system logs for other possible problems. If you are connecting to a Windows server then we suggest calling Easysoft Support once you've made the checks in the previous questions.
Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)