Program Software Connection Database unable to use 127.0.0.1

Source: Internet
Author: User
Tags mssql

Today, I met a friend who needs to use the MSSQL 2008 database to build the program. This client program needs to run an EXE file. When you connect to the database settings, the server fills in 127.0.0.1, and the connection is never successfully connected.

After using localhost, the connection was successful. Indicates that there is a place between the use of localhost and 127.0.0.1 that cannot communicate. Check the local Hosts file found that localhost has been resolved to 127.0.0.1, then the inference problem should be on the MSSQL 2008 itself configuration.

Open SQL Server Configuration Manager and check that TCP/IP discovery is disabled. and opened him up.

Restart the server, log in to the server, and test the server connection. OK, the connection is successful.

Life needs to be more dynamic, and so is work, so many moves will be found. AC qq:2881064157

Program Software Connection Database unable to use 127.0.0.1

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.