Solved

map servername to IP address

Posted on 2007-11-28
8
698 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

627 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