Solved

SQL server connection over a lan ?

Posted on 2014-04-02
1
521 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 33

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Select Statement 2 22
Need to update TableA to TableB 6 34
Sql Query 4 16
TSQL - 'WHILE EXIST' loop and LIKE % operator 4 0
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

895 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

12 Experts available now in Live!

Get 1:1 Help Now