On my LAN at work, I have SQL Server 2005 running on one machine and my developer machine (a different machine) has VS2008 on it and I can access the SQL Server from Server Explorer in Visual Studio using the computer name and the local lan domain name i.e.: mspc2.ourcompany.local So, I know it is all up and running well, and I can see table on it and everything.
Now, the SQL Server box has a public IP that points to it, which I presently only use to Remote Desktop into the machine to poke around on it from home.
So, what do I need to do so I can hit that SQL Server from Visual Studio on my laptop at home, or from any other computer that is not on the LAN? I have turned off all software firewalls on that machine, and I am doing a pass-through on the hardware router to let all traffic/ports to that public IP route through to the LAN IP of that machine.
I can hit that machine with Remote Desktop with no problem.
I tried typing the public IP address into Server Explorer, but it comes back and says could not connect.
So what do I need to do to open up that machine to allow me to hit the SQL Server on it from off site?