The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

Is there a way to force the whole sql communication over one specific port?

asked 30 Jun '11, 09:46

refell's gravatar image

refell
36115
accept rate: 0%


You can specify the PORT number when you start the server. For example:

dbsrv12 -x tcpip(ServerPort=2629) -n server3 c:\mydata.db

After doing this, you then need to specify the port when you issue client connections, for example:

dbisql -c "UID=DBA;PWD=sql;ServerName=server3;Host=serverhost3:2629"

You can read more about this option on DCX: http://dcx.sybase.com/index.html#1201/en/dbadmin/serverport-network-conparm.html

permanent link

answered 30 Jun '11, 10:30

Chris%20Kleisath's gravatar image

Chris Kleisath
3.1k92835
accept rate: 39%

1

With MyIP=192.75.209.12 inside the tcpip() you can also control which of the multiple IP adresses of the server is used by the database server.

(01 Jul '11, 06:44) Martin
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×14
×8

question asked: 30 Jun '11, 09:46

question was seen: 667 times

last updated: 01 Jul '11, 06:44