The Connection Dialog and the fields available there ( host, port, user, database, SSH ) are explained in the Connection dialog page
Enabling the TCP/IP Port
For all editions of Sybase Adaptive Server Enterprise:
- From the Sybase Adaptive Server Configuration Manager, select Sybase Adaptive Server Network Configuration in the left panel and navigate to the Sybase Adaptive Server instance.
- The right panel displays all protocols for the specified Sybase Adaptive Server instance and their status.
- Ensure that TCP/IP is enabled.
- (If TCP/IP is disabled), right-click TCP/IP and select Properties. The TCP/IP Properties dialog box appears.
- In the Protocol tab, select enabled, and click Apply.
- Restart the Sybase Adaptive Server instance.
Finding the TCP/IP Port
To find the TCP/IP port number for a particular Sybase Adaptive Server instance, run the following query:
Select address_info from syslisteners
The above query returns the host address followed by the port number.
Debug Connectivity Issues
- Check Network:
From the machine where DbSchema is running execute:
If this is failing it means the host name is wrong.
In this case look on how to find the server host name as described in Connect to SqlServer.
- Check if the port is open.
To verify that SQL Server listening port, you can use the telnet from the computer where you run DbSchema.
If not installed, you can install Telnet like this:
Assume that SQL Server's IP address is 192.168.1.1 or host name 'samplehost', port 11433, you can run the following command:
- Click Start > Control Panel.
- Click Programs and Features.
- Click Turn Windows features on or off.
- In the Windows Features dialog box, check the Telnet Client check box.
- Click OK. The system installs the appropriate files. This will take a few seconds to a minute.
telnet 192.168.1.1 1433
telnet samplehost 1433
If the TELNET successful, then the result will be a only a black screen with cursor in flash.
If unsuccessful, then you will get an error message. In this case please the port may be wrong.
Please How to enable TCP/IP connections regarding on how to see the configured TCP/IP port.
- Check On Server the Port value and TCP/IP to be enabled
Read the chapter How to enable TCP/IP connections. There you will find also instructions about finding the configured TCP/IP port.
- Create an exception for SQL Server in Windows Firewall:
Follow the steps from the Firewall chapter.
- Enable the SQL Server Browser service:
If you connect to a named instance, make sure the SQL Server Browser service by using SQL Server Configuration Manager is enable or specify the TCP port when connecting to it.