Sometimes we want to allow WCF service to use the IP address and port to access it from another machine; then you need to configure IIS Express. Let’s see the steps Firstly, we need to get the IP address of our local machine. For that open a command prompt window and run the ipconfig command to look up a valid local IP address for your machine like the following image. Next open the “applicationhost.config” file for IIS Express. This file is located in the following subdirectory of your user profile directory like the following image. C:\Users\Windows Phone\Documents\IISExpress\config In applicationhost.config find the site element for your WCF service and add a new binding element for the port using the IP address you noted above. Then save the applicationhost.config file. Now updated site element look similar to the following image. Now run your service and access from another machine. You can check it yourself, open notification icons and select IIS Express icon. You can see your WCF service looks like the following image. Note If you are facing firewall problems you need to go to firewall settings and create a new port rule to allow the connections to the port. For more details follow technet source.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: