Problem Description: client Sybase Central tool cannot connect to database
service-side operating system: rhel5.8_x64, install sybase-ase15.7, port number 4112 ip:192.168.1.220 hostname:rhel5.8-ase.com Client for Windows system.
After the installation is complete, use the isql tool on the server to log in to the database normally. The firewall is down.
[Email protected] ~]$ Isql-usa-pzxcvbnm-srhel5
1>
Netstat view 4112 ports in listening state:
The client Sybase Central tool cannot connect to the database using IP and host names.
CMD window test: Telnet 192.168.1.220 4112 does not pass
Telnet rhel5.8-ase.com 4112 does not pass
Ping host name and IP are connected
Workaround:
Modify the Hosts file, delete or comment on this line: 127.0.0.1 rhel5. 8-ase.com rhel5. 8-ase
[[email protected] ~]$ vi/etc/hosts# do not remove the following line, or various programs# that require network func Tionality would fail. 192.168. 1.220 Rhel5. 8-ase.com rhel5. 8-ase
#127.0.0.1 rhel5. 8-ase.com rhel5. 8-ase
After removing the IP port from the client telnet is OK.
Sybase Central uses IP to connect to the database properly.
Telnet IP/sybase Central tool cannot connect to database