Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

map servername to IP address

Posted on 2007-11-28
8
Medium Priority
?
702 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 200 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 200 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

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 600 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
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…

730 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