Solved

SQL server connection over a lan ?

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

856 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