Re: connection to SQL server 2008 express

Mahendra T <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <OF39811059.695E8CB0-ON652576D4.001B3B51-652576D4.001BE4CB@tcs.com>
> 
>                $ telnet IP_Adress 1433
> 
> (where you obviously substitute a real address for "IP_Address").
> 
> The connection will fail, demonstrating you cannot connect to that
> server on that port.
> 
> > I could connect to the database instance at 1433 port from the same
> > machine where it is installed.
> 
> SQL server 2008 express by default listens only to 127.0.0.1, not to
> the external network.  You can confirm that by running the above
telnet
> command on the SQL Server host.
> 
> If you can telnet locally but not from the FreeTDS host, show those
> results to your network guy.

> Besides the *machine* being given network access over the port, the
> SQL*Server must also be enabled to allow external connections.

> Using SQL*Server management studio, right-click on the database cylinder
> after establishing a connection to it and choose "Properties".
> Then, choose the page "Connections" and click the check box "Allow
> remote connections to this server"

> Restart the SQL*Server service.

Remote connections are enabled on the host server. telnet host_IP 1433 is 
not working on host machine itself.
If I try sqlcmd -H IP_address\Instance_name,port -U user_name from the 
host machine, it connects me to the data base. I am not able understand 
why telnet is not working when sqlcmd is able to connect to the database 
at 1433 port.

Mahendra
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.