Unable to connect to database server localhost as SA

Started by Jackson, September 14, 2022, 12:01:38 AM

Previous topic - Next topic

Jackson

When attempting to install NetXMS it gets stuck on connecting to the database. I get:

"Unable to connect to database server localhost as sa (could not connect to server: Connection refused (0x0000274D/10061)"
"Is the server running on host "localhost" (::1) and accepting TCP.IP connections on port 5432?"
"Is the server running on host localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?"

Does anyone know how to fix this?

gmonk63

What os are you using ?  Looks like the database is postgres.  Are you able to login via psql 

Jackson

I am using Microsoft SQL 2017 and. It is hosted on the same VM as Netxms (Windows Server 2022). I was able to login using sqlcmd. I am very new to SQL I appologize. 

Jackson

I figured it out! I had previously been choosing Microsoft SQL as the database but I had to troubleshoot some other problems first and I kept forgetting to switch it. It works now Thank you!