Re: Why SQL Server 2000 default port is not 1433?



THanks Rick.
I changed the port to be 1433 on server using Server network utility.
And I am sure the port number is 1433 too on client PC.
But still I cannot connect to server on client server.
And there is only one instance of SQL Server. And 1433 port is not
being used by any other applications.
I run netstat -anb on that server, and got TCP: 0.0.0.0:1433. Is this
normal?
Thanks.

"Rick Byham, MS 写道:
"
The most likely reason SQL Server is not listening on port 1433 is because something else is taking the port, such as another instance of SQL Server.. If you know the port is available, use the SQL Server 2000 Server Network Utiltity to specify the port.
If, like me, you have SQL Server 2005 on port 1433, and SQL Server 2000 on port 2061, then as long as the SQL Server Browser Service is started (on the SQL Server computer) then the client should still be able to connect by name.

If you can't move your SQL Server 2000 to port 1433, change the client to connent to the correct port number using the Client Network Utility.
Or use the Client Network Utility to create an alias to the correct port number.
Or connect from the client directly specifying the port such as tcp:<computer_name>, <port_number> such as tcp:accounting, 2061

--
Rick Byham, MS
This posting is provided "AS IS" with no warranties, and confers no rights.

"Michael" <michaellm@xxxxxxxxx> wrote in message news:1166029578.047335.4360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I installed MS SQL Server 2000 and sp4.
The operation system is Windows 2003 server.
On server machine,
I open server network utility, and checked.
found that the default TCP port at server end is not 1433. Why?
But then I open Client Network Utility, the default port is 1433.

On my machine. (not the same one as server)
I cannot connect to that database server using SQL Query Analyzer.
What can I do now?
Thanks.

------=_NextPart_000_000A_01C71EBE.891012E0
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 2709

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.5536.16385" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>The most likely reason SQL Server is not listening
on port 1433 is because something else is taking the port, such as another
instance of SQL Server. If you know the port is available, use the SQL Server
2000 Server Network Utiltity to specify the port.</FONT></DIV>
<DIV><FONT face=Arial size=2>If, like me, you have SQL Server 2005 on port 1433,
and SQL Server 2000 on port 2061, then as long as the SQL Server Browser Service
is started (on the SQL Server computer) then the client should still be able to
connect by name.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If you can't move your SQL Server 2000 to port
1433, change the client to connent to the correct port number using the Client
Network Utility.</FONT></DIV>
<DIV><FONT face=Arial size=2>Or use the Client Network Utility to create an
alias to the correct port number.</FONT></DIV>
<DIV><FONT face=Arial size=2>Or connect from the client directly specifying the
port such as tcp:&lt;computer_name&gt;, &lt;port_number&gt; such as
tcp:accounting, 2061</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-- <BR>Rick Byham, MS<BR>This posting is provided
"AS IS" with no warranties, and confers no rights.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>"Michael" &lt;</FONT><A
href="mailto:michaellm@xxxxxxxxx";><FONT face=Arial
size=2>michaellm@xxxxxxxxx</FONT></A><FONT face=Arial size=2>&gt; wrote in
message </FONT><A
href="news:1166029578.047335.4360@xxxxxxxxxxxxxxxxxxxxxxxxxxx";><FONT face=Arial
size=2>news:1166029578.047335.4360@xxxxxxxxxxxxxxxxxxxxxxxxxxx</FONT></A><FONT
face=Arial size=2>...</FONT></DIV><FONT face=Arial size=2>&gt;I installed MS SQL
Server 2000 and sp4.<BR>&gt; The operation system is Windows 2003
server.<BR>&gt; On server machine,<BR>&gt; I open server network utility, and
checked.<BR>&gt; found that the default TCP port at server end is not 1433.
Why?<BR>&gt; But then I open Client Network Utility, the default port is
1433.<BR>&gt; <BR>&gt; On my machine. (not the same one as server)<BR>&gt; I
cannot connect to that database server using SQL Query Analyzer.<BR>&gt; What
can I do now?<BR>&gt; Thanks.<BR>&gt;</FONT></BODY></HTML>

------=_NextPart_000_000A_01C71EBE.891012E0--

.



Relevant Pages

  • Re: Unable to print to networked printer - get access denied messa
    ... Check the permissions on the server assuming the client has a true RPC ... How is the Standard TCP/IP port configured for the device? ...
    (microsoft.public.windowsxp.print_fax)
  • Re: interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)
    ... That's the problem tunneling (port forwarding) solves. ... >>can't get past the client firewall. ... > I don't understand why the server would be making the ... server initiates another connection to the client -- in this ...
    (Debian-User)
  • Re: Remote Connection Issue
    ... through port number 3389 and a workstation on the LAN through port number ... I understand that you want to allow a LAN client ... and you have configured server publishing rule ... > By default Terminal Server and Windows 2000 Terminal Services uses TCP ...
    (microsoft.public.windows.server.sbs)
  • Re: RealVNC
    ... Default listening port for RealVNC server that runs on the machine on which ... Then there is default Java listening port on port 5800 on the client machine ...
    (microsoft.public.windows.server.sbs)
  • Re: Redirecting data sent to a local printer to another host and port on the network
    ... All client workstations have access to the ... simply redirecting netcat traffic on port 9100 to port 515 on ... Only LPR clients talk to LPD print server daemons. ... >workstation at the branch site where the print job originated. ...
    (comp.unix.sco.misc)

Loading