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