SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 SQL Remote Access
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pavneet9
Starting Member

1 Posts

Posted - 12/11/2012 :  06:40:41  Show Profile  Reply with Quote
I Have Made My SQL Server To Allow Remote Dekstop Connections From Another Computer. But I Want To FIX That It shud allow Remote Connections From A Fix IP ie 12.13.14.15. Please Help

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3383 Posts

Posted - 12/11/2012 :  07:10:36  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
Sounds like something that should be done via a firewall.
You could maybe create a trigger that fires on login to check the connection?

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

srimami
Posting Yak Master

160 Posts

Posted - 12/12/2012 :  01:33:00  Show Profile  Reply with Quote
Hi Pavneet,

Follow the below steps to open firewall from a specific IP address

1. Open Sql Server Configuration Manager
2. Open Sql Server Network Configuration
3. Double click Protocols for MSSqlServer (Instance Name)
4. Double click TCP/IP (Properties)
5. Go to IP Address tab and enter the specific IP address you wanted to allow connections (leave the default port to be 1433)

Restart the Sql Server when done with above steps.

Thanks,
Sri.
Go to Top of Page

johnson_ef
Starting Member

India
16 Posts

Posted - 12/12/2012 :  03:17:23  Show Profile  Reply with Quote
Is this a named instance? , in that case, check the instance port number, it would not be 1433, may be dynamic too.
Once you found out the port, you can check the connection this way too (12.13.14.15,portnumber) from SSMS. If this is not working, check the port blocking from server or firewall level. You can check if the connections are established or not through 'net stats' command.

-Johnson
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000