Pergunta

I have MS Server 2012 on a virtual machine and I'm hosting a WCF REST service in IIS8, what do I need to do exactly to make the service public? I have a static IP, and I configured my router the forward calls to my external IP:PORT to the service's IP:PORT , but I think that because it is a virtual machine something i wrong?

Foi útil?

Solução

Well, you need a public IP-address provided by your ISP. And then you need to set you router/firewall to forward request to your service and port. You need to config so that the client call the public domain-name for your service, internally you service can expose it's endpoint on the local network (localhost). Please add more information (like web.configs, stack traces) to get a better answer.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top