How to connect to SQL Server from another computer?

前端 未结 5 895
梦如初夏
梦如初夏 2020-11-28 06:35

I want to connect from home using SQL Server 2005 to another PC.

I had a look on the msd...but before connecting it says I should connect to another computer using t

5条回答
  •  死守一世寂寞
    2020-11-28 07:26

    I'll edit my previous answer based on further info supplied. You can clearely ping the remote computer as you can use terminal services.

    I've a feeling that port 1433 is being blocked by a firewall, hence your trouble. See TCP Ports Needed for Communication to SQL Server Through a Firewall by Microsoft.

    Try using this application to ping your servers ip address and port 1433.

    tcping your.server.ip.address 1433
    

    And see if you get a "Port is open" response from tcping.

    Ok, next to try is to check SQL Server. RDP onto the SQL Server computer. Start SSMS. Connect to the database. In object explorer (usually docked on the left) right click on the server and click properties.

    alt text http://www.hicrest.net/server_prop_menu.jpg

    Goto the Connections settings and make sure "Allow remote connections to this server" is ticket.

    alt text http://www.hicrest.net/server_properties.jpg

提交回复
热议问题