Configuring SQL Server Ports

Source: Internet
Author: User

An error occurred while writing the Java Connection database today: TCP/IP connection to host localhost via port 1433 failed. Error: "Connection refused:connect. Verify the connection properties and check that the instance of SQL Server is running on the host, accept TCP/IP connections on this port, and make sure that the firewall does not block TCP connections to this port. ".

Baidu went down and said yes to enable TCP/IP through SQL Server Configuration Manager

So open the window Start menu → All programs →microsoft SQL Server 2008→ Configuration tool →sql Server Configuration Manager

The result was that TCP/IP for the MSSQLServer instance could not be found, and then the SQL Server Configuration Manager that enabled the service found TCP/TP

computer right → manage → select SQL Server protocol →tcp/ip→ right-click Enable

Note: The default fixed port for TCP is 1433, if you set the fixed port manually, empty the value of the TCP dynamic port

Configuring SQL Server Ports

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.