2.Win7 system runs cmd.exe as an administrator.
WinXP system runs cmd.exe directly,
Enter the netstat -nab command in the pop-up DOS window and press enter.
It will show which programs created each port connection. You can find out which ports are used in sybase database.