I have tried every conceivable permutation for hours to try to connect to a remote SQL Server 2017
using SSMS
. I keep getting:
Logging failed for user xxx. (Microsoft SQL Server Error 18456)
- I know SQL Server is running on the remote machines since I can log in locally there using SSMS.
- SQL Browser is running.
- TCP/IP is enabled. There are no dynamic ports in IP All.
- I know the
firewall
is not a problem since I can telnet to port 1433 from the remote machine, and I added the rule to allow access. - I have "Enable Remote Access" turned on in SQL Server.
- I have both Windows and SQL Server Authentication enabled.
- I have user mappings for the given databases.
- I can connect locally using SSMS with the Sql Server Auth user/passwd that I am trying to use remotely.
When logging in from the remote client in SSMS
:
- I use an IP address for the server (although I can also browse to the server as I have UDP 1434 open).
- I use SQL Server Authentication.
I looked at Event Viewer
on the SQL Server machinee to see if it gives me more clues as to why the log in is failing, but it is worthless.
I saw this, but it is of no help.
What on earth could be left that is the problem?