Solved

map servername to IP address

Posted on 2007-11-28
8
688 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
[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
  • 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
Now Available: Firebox Cloud for AWS and FireboxV

Firebox Cloud brings the protection of WatchGuard’s leading Firebox UTM appliances to public cloud environments. It enables organizations to extend their security perimeter to protect business-critical assets in Amazon Web Services (AWS).

 

Author Comment

by:rickchan108
ID: 20371706
hi cottsak,
could you please instruct me how to  allow remote connection for sql server. thanks
0
 
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

756 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