Solved

SQL server connection over a lan ?

Posted on 2014-04-02
1
518 Views
Last Modified: 2014-04-02
Hi

I have 2 VPS servers in a datacentre
one has DB
one has Website
The web app connection string has the public IP for SQL connection

The data centre created a new virtual adapter on each VPS and i have set up the lan ip's
192.168.1.2
and
192.168.1.3

I can do this now:  \\192.168.1.2\c$\DBs
And see the MDF file (after typing in the login credentials)

I want the website to access the MSSQLSEVER on the LAN and not on the public IP that it does already

Can anyone help me figure out how to do it?
0
Comment
Question by:websss
1 Comment
 
LVL 32

Accepted Solution

by:
ste5an earned 500 total points
ID: 39972339
Just change the IP in the connection string in your Web.config.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now