dbTalk Databases Forums  

Database port

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Database port in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Omar
 
Posts: n/a

Default Database port - 11-27-2007 , 08:25 AM






Is there an option in SQL Anywhere 9.02 to specify the port a database
starts off with?

I know that the first database always starts off with port 2638, if
there are other services running on the same server, do they get
assigned random free ports?


Reply With Quote
  #2  
Old   
Graeme Perrow
 
Posts: n/a

Default Re: Database port - 11-27-2007 , 09:22 AM






Omar wrote:
Quote:
Is there an option in SQL Anywhere 9.02 to specify the port a database
starts off with?

I know that the first database always starts off with port 2638, if
there are other services running on the same server, do they get
assigned random free ports?

You can specify the Port option when starting the server:

dbsrv9 -x tcpip(port=1234) ...

If 2638 is not available and you don't specify a port number, the server
will choose a random port to listen on.

--

Graeme Perrow
Senior Software Developer
gperrow _at_ ianywhere _dot_ com
iAnywhere Solutions Inc.
A Sybase company

Whitepapers, TechDocs, bug fixes are all available through the iAnywhere
Developer Community at http://www.ianywhere.com/developer/


Reply With Quote
  #3  
Old   
Nick Elson
 
Posts: n/a

Default Re: Database port - 11-27-2007 , 11:52 AM



-x tcpip{port=1234}


"Omar" <omarnihal (AT) gmail (DOT) com> wrote

Quote:
Is there an option in SQL Anywhere 9.02 to specify the port a database
starts off with?

I know that the first database always starts off with port 2638, if
there are other services running on the same server, do they get
assigned random free ports?




Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.