allowing remote connections to sql server express 2005 database

Hi

I am running sql server 2005 express on windows xp

how do i set up sql server 2005 so that someone can make a remote connection to my database?

thanks
andrea
andiejeAsked:
Who is Participating?
 
NightmanConnect With a Mentor CTOCommented:
First, open up Surface Area Configuration for SQL Server. Make sure that you enable Remote Connections. Also ensure that TCP/IP is enabled in the Network Configuration. Check the TCP Port that is in use (default is 1433).

If they are on the same domain as you and you want to use Windows Authentication, open up Management Studio and go to Security, Logins and add their domain account, giving them access to the database. If you want to use SQL Authentication (not the default) you would have to create an SQL login for them (in the same place, just select the login type to be SQL Server Authentication instead) - you may have to enable SQL Server Authentication (mixed mode) in the surface area configuration as well.

In windows Firewall (you probably have it running) add the TCP Port (noted earlier) as an exception, to allow access. You may also have to allow the SQLSvr.exe as an exception.

Hope this helps

Cheers
Night
0
 
andiejeAuthor Commented:
thanks mister night
0
 
NightmanCTOCommented:
A pleasure. Let me know if you have any problems - security can be tricky;)
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
andiejeAuthor Commented:
Hi

are you there? where is network configuration?

andrea
0
 
andiejeAuthor Commented:
sorry, i meant to say where in network configuration can i see the default port
0
 
NightmanCTOCommented:
OPen up the SQL Server Configuration Manager (from the Start-->Program Files-->Microsoft SQL Server 2005 --> Configuration Tools, select Protocols - you will see if TCP/IP is enabled or not. Right click it, select IP Address tab, and have a look at the TCP Port.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.