The forum will be down for maintenance over the weekend of August 18-20, 2017. The forum will be shut down on the evening (EDT) of Friday, August 18. Downtime is unknown but may be up to two days. The forum will be restarted as soon as maintenance is complete.

I am using SQL Anywhere 9.0.2 version.

Problem: I can access remote DB using dbisql utility by providing HOST as remote system ip address.

I am starting database using dbsrv9.exe utility.

Is there any way to restrict the remote access on this database?

Thanks in advance

asked 04 Jul '11, 02:55

Vineet's gravatar image

accept rate: 25%

edited 15 Mar '13, 17:20

Mark%20Culp's gravatar image

Mark Culp

Do you mean you want to run the database server (dbsrv9) instead of the personal engine (dbeng9) but want to allow only local access - i.e. prevent client connections from other machines?

Then this Q&A does exactly answer your question.

permanent link

answered 04 Jul '11, 03:51

Volker%20Barth's gravatar image

Volker Barth
accept rate: 33%

Thanks Volker for the reference.

From this, I can assume that dbsrvX.exe doesn't provide any way to restrict remote access(using switch or by any other mean).

(05 Jul '11, 05:04) Vineet
Replies hidden

No, that's not my conclusion.

In order to restrict remote access, you can either

  • use dbengX or
  • use dbsrvX with the -x tcpip{localonly=yes} option.
(05 Jul '11, 05:20) Volker Barth

AFAIK, a third possibility is to restrict TCP/IP connections altogether by

  • use dbsrvX with the -x none option.

That enables only shared memory connections and won't enable local TDS connections (e.g. jConnect) and may not support all variants of connections between local clients and services/terminal services, cf. the docs.

(05 Jul '11, 08:55) Volker Barth
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: 04 Jul '11, 02:55

question was seen: 1,765 times

last updated: 15 Mar '13, 17:20