How to connect to Sybase Server/Database without port number using DSN or RapidSQL? Or how to find port number?

Pritesh picture Pritesh · Sep 10, 2012 · Viewed 11.9k times · Source

I have Some Sybase Server/Databases. I know 1. Server Name 2. Database Name 3. Username 4. Password. Using this I can connect using ISQL but while using RapidSQL it asks for port. I have existing application which uses DSN, while creating DSN also it asks for port. I am looking for 2 possiblies using RapidSQL/Creating DSN without port or How to find port mumber?

I do not have SQL.ini file.

enter image description here

Answer

HumayunM picture HumayunM · Sep 13, 2012

Try this:

  1. Go to start-> RUN -> type dsedit. There will be a mneu "Select Directory Services"
  2. Click ok on InterfacesDriver.
  3. Highlight your server name on the left pane.

You will see its IP/Hostname and Port number on the right pane.