PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: SQL Server Question
Date: Aug 27 1999 1:55PM

Jason Risley writes:
 > I know that these is not a sybperl question, but maybe someone has the answer.
 > 
 > Situation:
 > 
 > I have setup a SQL Server 11.5 on Win NT 4(SP5). The SQL Server is assigned to port
 > 5000.
 > 
 > Question:
 > 
 > Is port 5000 a listening port? where a client goes to requests a connection but the
 > server establishes another random port (16550) to carry on the conversation between
 > the server and the client?
 > 
 > Does anyone know if the above is true or does all communication happen through port
 > 5000?
 > 

All communication goes through the 5000 port, AFAIK. I run my server
here on port 7100: netstat reports:

troll (6:53AM):147 > netstat -n
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 192.168.0.4:7100        192.168.0.2:58338       ESTABLISHED 
tcp        0      0 192.168.0.4:7100        192.168.0.4:3057        ESTABLISHED 
tcp        0      0 192.168.0.4:3057        192.168.0.4:7100        ESTABLISHED 

Which shows two connections established to port 7100 on this machine,
one of which was done from the same box.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com