Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2003
    Location
    Singapore
    Posts
    200

    Unanswered: INFORMIX default port !

    Hi ,

    How do I know which is the default port my database is using.I have informix 9.4 on Windows.I checked the SQLNet32 but it doesn't tell me which is the port.I thought it was 1526,but seeems not to be.
    HOw can I get the value.
    Also does each DB have seperate ports or does InformixServer have only one port.

    Thanks and Regards
    Micky

  2. #2
    Join Date
    May 2004
    Location
    New York
    Posts
    248
    talke a look in the services file, Informix does not use a specific port number
    it is user admin defined
    In setnet you do not provide the port number but the name that you have assigned to the port
    There are couple of services files you want

    windows\system32\drivers\etc\services

    Cheers

    Artem

  3. #3
    Join Date
    Nov 2003
    Location
    Mumbai, India
    Posts
    92
    Try this one:

    onstat -g ntt | findstr "|"
    or
    onstat -g ntt | findstr "tcp"

  4. #4
    Join Date
    Mar 2003
    Location
    Singapore
    Posts
    200
    HI guys ,

    Thanks for the help.I could find the port and change it.

    Thanks again
    micky

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •