简体   繁体   中英

Issues connecting to sql server from outside domain

I am having issues connecting to sql server either through SSMS or my C# application. One thing to note is that I am out of my work domain. But I have in the past worked from home before and didn't had any issues. Maybe once but I restarted and it worked. But it's not working today. Microsoft SQL Server ERROR 2

Establish whether the correct port is open and listening (TCP port 1433 by default) you may need to speak to your network administrator for this.

The SQL Server Browser Service may also need to be running.

If not the above then perhaps an authentication issue...

Finally managed to fix it. Logged on to sql server configuration manager and under sql server services I noticed that all the services were stopped. Just started the SQL Server (MSSQLSERVER) manually and everything is back to normal. Thank you everyone for your time and input. Much appreciated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM