Solved

map servername to IP address

Posted on 2007-11-28
8
684 Views
Last Modified: 2008-02-01
HI,
I have a server application installed on a windows 2003, with ms sql 2000 as database.At home, I want to connect to the server through vpn, but found that I can't find the sql server name .I found that it might help by doing the two steps at the bottom, but I am not familiar with this. so could someone please tell me how to do so. is there any other thing that might help? thank you

1)  make an entry in lmhosts file on the home PC that explicitly maps  servers name to the IP address

2) Use SQL Network utilities to create an alias that maps the servers name to the IP address
0
Comment
Question by:rickchan108
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 15

Assisted Solution

by:wingatesl
wingatesl earned 50 total points
ID: 20371283
you want to edit the hosts file
c:\windows\system32\drivers\etc\hosts

and put a line int it that says

<IP ADDRESS>          <SERVERNAME>
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 20371294
> Using Client network utility

Open client network utility from "start -> programs -> MS Sql server "
Click Alias tab -> add -> Select TCP/IP as the network library, IP address as the server name and the desired server name as the "server Alias"
Thats all
0
 
LVL 6

Assisted Solution

by:cottsak
cottsak earned 50 total points
ID: 20371449
in addition to above, make sure the sql server is allowing Remote Connections as this might hold u up if Management Studio (or another connection) refuses u entry
0
 

Author Comment

by:rickchan108
ID: 20371706
hi cottsak,
could you please instruct me how to  allow remote connection for sql server. thanks
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 150 total points
ID: 20371733
0
 
LVL 6

Expert Comment

by:cottsak
ID: 20371808
aneeshattingal,

nice instructions ;)
0
 

Author Comment

by:rickchan108
ID: 20371841
hi aneeshattingal,
this is a very clear demonstration for sql 2005. however, as I am still running sql 2000, I found it difficult to follow.  would you mind telling how to set it in sql 2000. thank you very much
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 20371858
> would you mind telling how to set it in sql 2000.

You don't have to change any settings for SQL 2000. In case you have firewall installed on your remote server, you just need to open the ports which are used by SQL (by default 1433&1434 )
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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

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

20 Experts available now in Live!

Get 1:1 Help Now