Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Ingres Topics / October 2006

Tip: Looking for answers? Try searching our database.

Port number for ODBC connections

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mac - 25 Oct 2006 02:38 GMT
Hi all,

I have a situation where someone external to our network needs to access one
of our Ingres databases through an ODBC connection.

We only want to make the relevant port available through our firewall, but I
don't know what it is. Can anyone tell me what port number Ingres would use
for external ODBC connections?

FYI, we are running Ingres 2006 on Linux.

regards,

Mac
Mac - 25 Oct 2006 03:06 GMT
I may have found it.

Is it the value of the II_GCNxx_PORT parameter for the relevant Ingres
installation?

>Hi all,
>
[quoted text clipped - 10 lines]
>
>Mac
Mac - 25 Oct 2006 03:25 GMT
Or is it the ii.xxxxxx.registry.tcp_ip.port parameter in the config.dat file?

>I may have found it.
>
[quoted text clipped - 6 lines]
>>
>>Mac
John Dennis - 25 Oct 2006 07:19 GMT
The port you need to open is the server's GCC port number, which is
derived from the 2-character installation code.  You can find it in the
errlog.log where the GCC starts up - look for a message like this:
E_GC2815_NTWK_OPEN   Network open complete for protocol WINTCP, port II
(21064).
and there's the port number.

John

> Or is it the ii.xxxxxx.registry.tcp_ip.port parameter in the config.dat file?
>
> >I may have found it.
>
> >Is it the value of the II_GCNxx_PORT parameter for the relevant Ingres
> >installation?
Gerhard Hofmann - 25 Oct 2006 07:51 GMT
> Hi all,
>
[quoted text clipped - 6 lines]
>
> FYI, we are running Ingres 2006 on Linux.

From a Windows client, run
  isql your_linux_server::your_db
to connect to the database.

Open another command window and run netstat to see the open connections.
 If your Ingres 2006 installation was done with default values, the
IngresNet port will be 21064. I think this port number also is shown in
$II_SYSTEM/ingres/files/errlog.log when Ingres is started on the server.

HTH
Gerhard
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.