Mark Lalor
Mark Lalor

Reputation: 7907

IIS make site viewable over network for WCF app

I made a WCF app that computers on the same network can communicate with. I have a site with the WCF service hosted on IIS. How can I make it so the program can work on the other computer(s) so in other words make localhost available to the other computers on the network

Upvotes: 0

Views: 358

Answers (3)

Mark Lalor
Mark Lalor

Reputation: 7907

It turns out it was McAfee's firewall... Well that explains it.

Upvotes: 0

p.wilt
p.wilt

Reputation: 536

Try turning off any firewalls (I.E. Windows Firewall) and attempt the ping again (if this works, figure out which port is being used for your application and open that port specifically if you need the firewall on.)

If you can't ping the server from your remote machine you aren't going to get anywhere with getting your server to respond.

Upvotes: 1

Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65441

Localhost is allways the local computer.

To access your site from other computers on the network you must use the computer's name instead of localhost.

Note you must make sure that your configuration in web.config also refers to the computer's name.

Upvotes: 3

Related Questions