Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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

asked 30 Jun '11, 09:46

refell's gravatar image

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:

permanent link

answered 30 Jun '11, 10:30

Chris%20Kleisath's gravatar image

Chris Kleisath
accept rate: 37%


With MyIP= 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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 30 Jun '11, 09:46

question was seen: 2,070 times

last updated: 01 Jul '11, 06:44