Allow MS SQL Server to connect remotely

Source: Internet
Author: User
Tags management studio sql server management sql server management studio

Practical questions:

SQL Express DB instance on server 192.168.0.103, and SQL Server Management Studio for the rest of the machine on the LAN cannot connect.

On this computer, you can log in with ". \SQLExpress" or "localhost\sqlexpress" as the server name, but "127.0.0.1\sqlexpress" or "192.168.0.103\ SqlExpress "All landed failed.

The error messages returned are:

SQL Network Interfaces, error:26

Named Pipes provider,error:40

Workaround:

1, we want to make sure that there are accounts available in SQL Server authentication mode. If not, you can follow the following article settings:

SQL Server Learning Note (iii)--Adding a new user to a database

2, turn on SQL Server Configuration Manager SQL Server and SQL Server Browser services on the server.

If the "Start" of the SQL Server Browser right-click menu bar is grayed out, then you need to go to computer-Manage-a service, enable SQL Server Browser, and then go back to SQL Server Configuration Manager Settings.

3, set the server's firewall (firewall), modify or add inbound Rules, allow UDP access to port 1434, allow TCP access to port 1433

4,sql Server configuration Manager, set TCP/IP available, and set its port to 1433

Reference Links:

Https://stackoverflow.com/questions/13754563/sql-network-interfaces-error-26-error-locating-server-instance-specified

Allow MS SQL Server to connect remotely

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.