connecting to sql server express remotely -


i have beginners question, , apologize if stupid.

i beginner @ sql server. can sql pretty well, dont know connecting.

i have:

microsoft sql server management studio , sql express 

what process of allowing remote connections it?

i leave laptop online @ home management studio running , access home sql server through remote connection.

i know

  1. how allow 1 of databases accept remote connections?
  2. what connection string be? laptop's ip address or what?
  3. is dangerous accept remote connections?

i have done following btw:

http://blogs.msdn.com/b/sqlexpress/archive/2005/05/05/415084.aspx

and when works:

sqlcmd -e -s localhost\sqlexpress,2301 

however when try not work

sqlcmd -e -s my.ip.add.ress\sqlexpress,2301 

anyway, after work how connect specific db??

by default, sql server express 2005 , 2008 not allow connections anywhere local computer... not difficult change it.

in short, want run sql server surface area configuration program , enable appropriate remote connection options need.

you need enable sql browser service, , don't forget poke appropriate holes in windows firewall if have enabled (which hope do). 3 of these steps described here. luck!


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -