• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

Sharepoint 2010 pings the external IP not the internal

I've been getting those sharepoint errors in the event log saying it cannot connect to the SQL server. So I thought I might try to ping it and when pinging the hostname, it came back with the external IP address outside the firewall which some people call the public IP address. I can ping the internal IP but when I ping the hostname, it returns with no response.

I added an entry for the sql server to the hosts file and to the Lmhosts file. First I checked the DNS server and found the appropriate entry there so that was really puzzling.

Is there something I am missing here? Sometimes it finds the other machine and sometimes it does not. Anyone seen this before?
0
garyoh
Asked:
garyoh
  • 3
1 Solution
 
Rainer JeschorCommented:
Hi,
sorry I am a bit confused. What server did you ping with the hostname? The SQL or the SharePoint frontend server?

In general a PING is not a good indicator if a server is reachable as most firewalls (either dedicated or the Windows integrated one) block ICMP packages, because thats the first entry point for scaning tools.

What is your SharePoint farm configuration (dedicated SQL server, how many SharePoint frontend / app server), what SharePoint edition do you use?

Does SharePoint work in general?
Thanks and HTH
Rainer
0
 
garyohAuthor Commented:
Well, ping is good in that it shows the IP address the ip address the name resolves to.  This provided the info which I used. And so far, it works just fine. The error in the logs is not back.

I am using sharepoint 2010 as stated above and there is a dedicated Hyper-v slice for the SQL 2005 or 2008....probably 2008 but I am not in front of machines right now. There is one instance of sharepoint 2010 on another Slice as well. Hope that helps. Machine is up now for over 12 hours...great news!
0
 
garyohAuthor Commented:
I'll live with the LMhosts answer I tried. It works and I am up for over a week know.
0
 
garyohAuthor Commented:
I was able to get this on my own.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now