Unix Technical Forum

newbie: telnet localhost 1433 fails

This is a discussion on newbie: telnet localhost 1433 fails within the SQL Server forums, part of the Microsoft SQL Server category; --> I don't understand why. My SQL Server 2005 is called PC\SQLEXPRESS. I use PC\Robert (administrator) account on Windows XP ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 11:35 AM
R.A.M.
 
Posts: n/a
Default newbie: telnet localhost 1433 fails

I don't understand why.
My SQL Server 2005 is called PC\SQLEXPRESS. I use PC\Robert (administrator)
account on Windows XP Professional. I use Windows Authentication. Remote
connections are switched on ("Using both TCP/IP and names pipes.")
Please help. Thank you.
/RAM/


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 11:35 AM
Dan Guzman
 
Posts: n/a
Default Re: newbie: telnet localhost 1433 fails

Since this is a named instance, the port is not 1433. The SQL Server error
log will list the listening network protocols, interfaces and ports.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"R.A.M." <r_ahimsa_m@poczta.onet.pl> wrote in message
news:ejeg8o$oiv$1@news.onet.pl...
>I don't understand why.
> My SQL Server 2005 is called PC\SQLEXPRESS. I use PC\Robert
> (administrator)
> account on Windows XP Professional. I use Windows Authentication. Remote
> connections are switched on ("Using both TCP/IP and names pipes.")
> Please help. Thank you.
> /RAM/
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 11:35 AM
R.A.M.
 
Posts: n/a
Default Re: newbie: telnet localhost 1433 fails

I see no port number in C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\LOG.
Could you help me please?

Uzytkownik "Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> napisal w
wiadomosci news:wLE6h.7391$6t.4871@newssvr11.news.prodigy.com ...
> Since this is a named instance, the port is not 1433. The SQL Server
> error log will list the listening network protocols, interfaces and ports.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-01-2008, 11:35 AM
Dan Guzman
 
Posts: n/a
Default Re: newbie: telnet localhost 1433 fails

You should have a log entry like the example below if the server is
listening on TCP/IP:

2006-11-15 08:11:39.68 Server Server is listening on [ 'any' <ipv4>
10489].

In this case, the port is 10489.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"R.A.M." <r_ahimsa_m@poczta.onet.pl> wrote in message
news:ejfqcn$42h$1@news.onet.pl...
>I see no port number in C:\Program Files\Microsoft SQL
>Server\MSSQL.1\MSSQL\LOG.
> Could you help me please?
>
> Uzytkownik "Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> napisal w
> wiadomosci news:wLE6h.7391$6t.4871@newssvr11.news.prodigy.com ...
>> Since this is a named instance, the port is not 1433. The SQL Server
>> error log will list the listening network protocols, interfaces and
>> ports.

>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-01-2008, 11:36 AM
R.A.M.
 
Posts: n/a
Default Re: newbie: telnet localhost 1433 fails

Thank you I found.
Some application I need uses SQL Server 2005. I need to provide connection
string (that's why I need port number).
If I have named instance, shall I have to change my connection string every
time I run Windows?
/RAM/

Uzytkownik "Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> napisal w
wiadomosci news:yoQ6h.6288$IR4.968@newssvr25.news.prodigy.net ...
> You should have a log entry like the example below if the server is
> listening on TCP/IP:
>
> 2006-11-15 08:11:39.68 Server Server is listening on [ 'any' <ipv4>
> 10489].
>
> In this case, the port is 10489.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-01-2008, 11:36 AM
Dan Guzman
 
Posts: n/a
Default Re: newbie: telnet localhost 1433 fails

> If I have named instance, shall I have to change my connection string
> every time I run Windows?


You don't need to hard-code the port in the connection string if you enable
the SQL Browser service. This will allow clients to discover the port
dynamically based in the instance name.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"R.A.M." <r_ahimsa_m@poczta.onet.pl> wrote in message
news:ejh2j5$lao$1@news.onet.pl...
> Thank you I found.
> Some application I need uses SQL Server 2005. I need to provide connection
> string (that's why I need port number).
> If I have named instance, shall I have to change my connection string
> every time I run Windows?
> /RAM/
>
> Uzytkownik "Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> napisal w
> wiadomosci news:yoQ6h.6288$IR4.968@newssvr25.news.prodigy.net ...
>> You should have a log entry like the example below if the server is
>> listening on TCP/IP:
>>
>> 2006-11-15 08:11:39.68 Server Server is listening on [ 'any' <ipv4>
>> 10489].
>>
>> In this case, the port is 10489.

>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com