How to host WCF Rest Service on Windows server 2008 R2

Hi ,
I want to host WCF 3.5 Rest service globally in IIS. So it should be available and accessible anywhere. I deployed the service in IIS and accessible locally but I want to access it from other server.
IrisInteractiveAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duy PhamFreelance IT ConsultantCommented:
What does prevent you from access the WCF from other servers or machines? You get an error when communicating with your service?

Normally as long as you deploy WCF REST service to IIS, you can use both IP or server host name to access the service.
0
IrisInteractiveAuthor Commented:
I want to access WCF service over the internet but getting error "This webpage is not available"
0
Duy PhamFreelance IT ConsultantCommented:
How do you consume the service? Using C# in server-side code? Or simply browse service URI on a browser?

So you can access the WCF REST service locally (on the server/machine where it is installed), right? Try to check following things:
Is your service port is configured in Windows Firewall?
Can you browse to service WSDL (<service-endpoint>?WSDL) either by using IP or hostname?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WCF

From novice to tech pro — start learning today.