panamakasce.blogg.se

Informix odbc port number
Informix odbc port number











If you know that something from your computer connects to other machine then you can use netstat to discover it. You should add more information about working environment: what platform your client is, what platform your server is, do you have access to server machine etc.

#INFORMIX ODBC PORT NUMBER WINDOWS#

If you don't find a port number in that reg key, the Windows equivalent of Unix's /etc/services file is C:\Windows\System32\drivers\etc\servicesĮxamine this file with a text editor (notepad works fine). Use regedit.exe to read the values stored in this entry. Instead of the file %INFORMIXDIR/etc/sqlhosts, the information you seek is contained in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\INFORMIX\SQLHOSTS In which case you would have to go look in /etc/services for a line that says informixservice 12345/tcpĬaveat: I've never dealt with Informix servers installed on Windows, however based on the IBM documentation, it doesn't seem much different in regards to the task at hand. In this case, your server name is "myservername" and the port is 12345Īlternatively, it could look like this: myservername onsoctcp informixservice If you don't see a port number, look in /etc/services.įor example, sqlhosts will probably contain something like this: myservername onsoctcp 12345 The fourth value (Port/ServicesName) is either the port number, or the name of the entry in /etc/services which references the port number. The first value is the server name you seek. %INFORMIXDIR%/etc/sqlhosts contains plaintext data in the following format: ServerName NetType HostName Port/ServicesName In this file is the server name, and possibly the port number. In %INFORMIXDIR%/etc on typical installs is a file called sqlhosts (it may have a suffix for your specific server instance, but it'll start with sqlhosts). A lot of the time however, Informix is installed in /opt, so try there. The most important of these is %INFORMIXDIR%, which points to the root directory of your Informix installation. On a Linux platform (as well as Windows, I believe), there are environment variables that point the way to where on your system Informix is installed.

informix odbc port number

It sounds like you need to find out the last three.

informix odbc port number

Database Name (the name of the db on to which you want to connect).Server Name (the name of the Informix instance).

informix odbc port number

There are not too many parameters needed to set up a connection to Informix. Since I don't see any details as to the platform on which IDS (Informix) is installed in your case, I'll try to provide info for both Unix and Windows platforms. In short, you will need the port number, server name (and database name as well) to connect to Informix.Īssuming that you have permissions to hunt around on the box where Informix is installed, there are a few places where the details about your Informix server are likely to be found.











Informix odbc port number