Вопрос

I have a server (which i installed windows server 2008 r2 and SQL server 2008 r2 on it) in another city, i installed SQL server 2008 r2 on my laptop too, i want to know how i can login to the SQL server which installed on the server in another city by internet and valid IP?

Это было полезно?

Решение

The standard sql connection string used in any programming language will work. Or you could open up Sql Management studio and type in the IP of the server. The problem you face is that the server is most likely behind a firewall blocking port 1433. Either hardware or software, port 1433 isn't typically just 'open'. Try telnetting into the target IP on port 1433 to see if firewalls are in the way. If your screen clears, it means you are clear to connect to the IP and then the only thing getting in your way is authentication. I imagine you have SQL server user accounts that you can use to connect.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top