If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > INFORMIX default port !

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-27-04, 03:19
mickykt mickykt is offline
Registered User
 
Join Date: Mar 2003
Location: Singapore
Posts: 200
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
Reply With Quote
  #2 (permalink)  
Old 08-27-04, 12:13
artemka artemka is offline
Registered User
 
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
Reply With Quote
  #3 (permalink)  
Old 08-29-04, 21:18
vpshriyan vpshriyan is offline
Registered User
 
Join Date: Nov 2003
Location: Mumbai, India
Posts: 92
Try this one:

onstat -g ntt | findstr "|"
or
onstat -g ntt | findstr "tcp"
Reply With Quote
  #4 (permalink)  
Old 08-31-04, 01:36
mickykt mickykt is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On