Solved

SQL server connection over a lan ?

Posted on 2014-04-02
1
534 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for 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 Pivot table 2 42
SQL:  Best data type for lat & long coordinates?  Float vs Decimal? 5 29
Many to one in one row 2 35
How come this XML node is not read? 3 26
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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 different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

740 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