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.
Asked
Active
Viewed 1,734 times
1 Answers
1
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.
![](../../users/profiles/87517.webp)
Precious Roy
- 126
- 3