Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created and deployed WCF service and web application(client) on IIS 7.5 problem : config of the client referring to the end point as ex: http://(IP address)/app/abc.svc this works fine. when i try to change IP address to Server Machine name(ex:http://machinename/app/abc.svc) its unable to access to the service. requirement: i need configure with machine name not with IP address.

share|improve this question

migrated from Jul 13 '11 at 13:57

This question came from our site for professional and enthusiast programmers.

In a Windows environment, when you access a machine by machine name only you either need to use WINS/NetBIOS (legacy) or have the client configured with a DNS suffix search list. – Chris Haas Jul 12 '11 at 17:25
up vote 1 down vote accepted

It depends on your network setup. Is it safe to assume the client who's trying to access your service inside the same domain as you? You can check your NetBIOS name, as Chris said, to verify you're using the right name to access your machine. Check it from their location to see how it shows up from their machine.

The other, simpler option, would be to edit the client's host file. Add an entry to go from whatever name you want to your ip. The only issue with that is whether there will be multiple machines accessing it, but if that's the case maybe it's worth registering a dns.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.