dennisgorelik: 2020-06-13 in my home office (Default)
[personal profile] dennisgorelik
When I try to connect SQL Server Management Studio from my machine to our new SQL server (Windows Authentication) - it has initial ~30 seconds delay.

I had to spend few hours digging for the root cause.

It looks like the issue is that SQL Server Management Studio is trying to do reverse IP lookup when it tries to connect to SQL Server.
But SQL Server does not have fully qualified name connected to its IP address.
So that causes problems when running SSMS under Windows 10 (but there are no slowness when SSMS runs under Windows Server 2016).

The fix is to extend C:\Windows\System32\drivers\etc\hosts file:
https://dba.stackexchange.com/questions/104378/sql-server-management-studio-slow-connection-or-timeout-when-using-windows-authe/222588#222588

Date: 2018-11-15 05:22 am (UTC)
juan_gandhi: (Default)
From: [personal profile] juan_gandhi
Well, not bad. Rather typical.

Date: 2018-11-15 07:16 pm (UTC)
juan_gandhi: (Default)
From: [personal profile] juan_gandhi
I vaguely remember some simple shit in Java, which was taking forever unless you have something in hosts - because it was suddenly deciding to go resolve a domain name over the internets for some pretty innocent local operation. I forgot the details.

Date: 2019-03-06 07:12 pm (UTC)
anspa: (Default)
From: [personal profile] anspa
Запомню на будущее. Спасибо.

Profile

dennisgorelik: 2020-06-13 in my home office (Default)
Dennis Gorelik

May 2026

S M T W T F S
     12
345 6789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 22nd, 2026 04:05 am
Powered by Dreamwidth Studios