SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Database server doesn't connect with the Server Name but connects with the IP address


Database server doesn't connect with the Server Name but connects with the IP address

Author
Message
kasaranenikiran-725528
kasaranenikiran-725528
SSC-Enthusiastic
SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)

Group: General Forum Members
Points: 136 Visits: 93
Hi,

We have a SQL 2005 server . When I try to connect the DB server with its name from remote , it doesn't connect. But connects with the IP addres.

same is the case with Remote login from using MSTSC.

Can any one help,, where I should check for the change of the system name or server name

Regards
Kiran
Sudeepta
Sudeepta
SSC-Addicted
SSC-Addicted (404 reputation)SSC-Addicted (404 reputation)SSC-Addicted (404 reputation)SSC-Addicted (404 reputation)SSC-Addicted (404 reputation)SSC-Addicted (404 reputation)SSC-Addicted (404 reputation)SSC-Addicted (404 reputation)

Group: General Forum Members
Points: 404 Visits: 189
One reason could be that Name reolution is not happening by the DNS server. Check with your Server administrator. Are you able to resolve the IP address to the FQDN.

Check if the following command resolve to your server name: PING -a xxx.xxx.xxx.xxx

Thanks & Regards,
Sudeepta.
http://twitter.com/skganguly
kasaranenikiran-725528
kasaranenikiran-725528
SSC-Enthusiastic
SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)

Group: General Forum Members
Points: 136 Visits: 93
Hi ,
I checked the server name using the PING-axxx.xxx.xxx.xxx . It showed up the FQDN with the correct IP .

So, what else can be checked ??
VastSQL
VastSQL
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9686 Visits: 5308
The issues is with DNS i think...

Which Edition of SQL Server you using??
Bhuvnesh
Bhuvnesh
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13440 Visits: 4077
it should be developers or enterprise edition

-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
kasaranenikiran-725528
kasaranenikiran-725528
SSC-Enthusiastic
SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)

Group: General Forum Members
Points: 136 Visits: 93
Its a SQL server enterprise edition (64 bit) .
dweil
dweil
Mr or Mrs. 500
Mr or Mrs. 500 (564 reputation)Mr or Mrs. 500 (564 reputation)Mr or Mrs. 500 (564 reputation)Mr or Mrs. 500 (564 reputation)Mr or Mrs. 500 (564 reputation)Mr or Mrs. 500 (564 reputation)Mr or Mrs. 500 (564 reputation)Mr or Mrs. 500 (564 reputation)

Group: General Forum Members
Points: 564 Visits: 3284
It might be using named pipes rather then tcpip.
Try shutting down named pipes


David



blackbird
blackbird
SSC Veteran
SSC Veteran (224 reputation)SSC Veteran (224 reputation)SSC Veteran (224 reputation)SSC Veteran (224 reputation)SSC Veteran (224 reputation)SSC Veteran (224 reputation)SSC Veteran (224 reputation)SSC Veteran (224 reputation)

Group: General Forum Members
Points: 224 Visits: 282
You can also modify the C:\WINDOWS\system32\drivers\etc\hosts file to add a line like:

[ip address] [database server name]

It'll be specific to only your local computer, but it works and faster than waiting for your SysAdmin to check the DNS entries.
Warren Peace
Warren Peace
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1319 Visits: 476
From the machine you are connecting from, flush your DNS cache: ipconfig /flushdns

I highly believe its a name resolution issue. In the TCP/IP properties of your NIC, make sure the check box labeled "Register this connection's address in DNS" is checked. It's in the Advanced part then select the tab "DNS". Also make sure the DBS suffix order has your root domains.
sqlbuddy123
sqlbuddy123
SSCertifiable
SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)

Group: General Forum Members
Points: 6242 Visits: 2243
Try whether you are able to connect to the Target server from any other server in your network.

Also contact your Windows admin and check whether the Server Name is pointing to the right IP Address in the DNS. If not ask him to update the DNS entry.

Thank You,

Best Regards,
SQLBuddy
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search