Hi,
I am not very clear with your decription.
No matter how you want to manipulate your images staff by your wcf service, one thing we need to make sure that your service is hosted on your
local machine which has the ip address is something like 127.0.0.1, 'localhost' is just a host name that mapping to this ip address. Nothing special, it can be change by editing the hosts file in C:\Windows\System32\drivers\etc.
But for your machinename which is identity for your machine, if your computer is in a company domain then your machine name will plus domain name, this is for network use. e.g another computer try to make a request to your wcf service on the same network domain, it has to know your machinename and domain name, this will be anylized by the DNS server to turn it into your real ip address on the network, then the another computer will be able to visite your machine.
However if you do need to expose your wcf service by localhost, you can spercifically define your service endpoint address like:
<endpoint address="
http://localhost:81/try" binding="wsHttpBinding" contract="WcfService1.IService1">
Thanks
Binze
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.