Unable to connect to SQL Server remotely
I have installed SQL Server 2014 Express on Windows 10. I can connect to server locally by entering: computername\SQLEXPRESS
or 192.168.0.xxx\SQLEXPRESS
When I try to connect to the server using public ipadress
122.xxx.xxx.xxx\SQLSERVER
I get an error:
Error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)
I also have host name from dlinkddns, tried connecting with host name with same error.
Steps which I have tried:
- Enabled remote connections.
- Configured 1433 TCP port to be allowed in firewall. Disabled antivirus program. I tried disabling firewall with no success.
- Enabled all protocols "TCP/IP', 'Named Pipes', 'Shared memory'
- Under TCP/IP properties, changed 'IP All' 'TCP Port' to 1433. I tried enabling IP1 to public ipadress with port 1433 with no success.
- I have dlink DIR 816 router, i dont see anything called port forwarding instead it has 'port triggering', i configured to allow port 1433 TCP and 1434 UDP.
- I can ping both ipadress and hostname with success but the server would not connect.
I have tried everything to the best of my knowledge but nothing works, any inputs to setup my connection remotely will be of great help!
SQLEXPRESS
- why are you trying to connect to122.xxx.xxx.xxx\SQLSERVER
?? Have you tried:122.xxx.xxx.xxx\SQLEXPRESS
??