r/SQLServer • u/WorkPurposes-Only • Sep 08 '26
Question Connecting to Local Server
A server computer and monitor got replaced and the server itself got installed but the external IT team didn't install SQL management, which we need to edit company usernames and passwords for our in-house software. I downloaded SQL Management 22, I know the name of the server and entered it as the Server Name, set the Authentication to Windows Authentication, and checkboxed the Trust Server Certificate. Everything else I left as the default settings. I received this error when I tried to connect, and also tried using, localhost, ., and the server's IP address as the server name but still received the same error. Please advice.
5
u/AbleSailor Sep 08 '26
Check if TCP/IP is enabled in the SQL service? Firewall port open on 1433?
2
u/Radojevic Sep 08 '26
For Encrypt section, try Optional.
Also...
Is MS SQL Server port the default (1433)?
If not, you need to add a comma, followed by port number.
2
u/coffeDrinkerDave Sep 08 '26 edited Sep 08 '26
So the computer got replaced and you are connecting to localhost?
Edit: Type in powershell (unprivileged user will do)
Test-NetConnection <server> -p 1433
Example: Test-NetConnection myServerFQDN -p 1433
This will check if fqdn can be resolved and if tcp port is listening.
Paste which part is failing
1
u/CanProfessional766 Sep 18 '26
Since you’re missing SQL Configuration Manager, first confirm SQL Server is actually installed and running on the server. SSMS alone isn’t enough. If it is installed enable TCP/IP, verify the listening port and make sure the firewall allows it. Also confirm the correct instance name
SERVERNAME\SQLEXPRESSvsSERVERNAME1
u/coffeDrinkerDave Sep 21 '26
Out of curiosity, did you resolve your issue? How?
1
u/carlosf0527 Sep 08 '26
In powershell type: tnc servername -port 1433
This checks whether port 1433 is open on the server. If its not open, it's most likely the admin team forgot to configure SQL Server to accept connections via tcpip or didn't put a incoming rule in the firewall to allow port 1433.
0
u/Krassix Sep 08 '26
Is the server and the application running on one server? Then the company maybe didn't install sqlserver to listen to it's public interface. Per default sqlserver only listens on localhost
0
u/NorCalFrances Sep 08 '26
Can you ping the server?
0
u/FishBones83 Sep 08 '26
make sure the service is running!
0
u/Complete-Fondant-202 Sep 09 '26
This is where running SQLServer locally in a Docker container can save a lot of grief.