c# - .NET Web Service works only on localhost -


i'm facing rather strange issue can't address. have written own web service using wcf using visual studio. then, created windows service project. @ least, installed installutil , worked fine. can access @ http://localhost:port/etc.

now, expose on different ip address. changed app.config file putting this:

    <host>       <baseaddresses>         <add baseaddress="http://localhost:8733/example/" />         <add baseaddress="http://192.168.1.111:1111/example/" />       </baseaddresses>     </host> 

i tried this:

    <host>       <baseaddresses>         <add baseaddress="http://192.168.1.111:1111/example/" />       </baseaddresses>     </host> 

but none of them works. when start service error dialog shown me telling service has stopped.

may me?

update

i changed account service installer networkservice , i'm getting error:

error 5: access denied 

some hints?

thanks, marco

have tried listen http://0.0.0.0:1111 should listen on pc interfaces on port 1111


Comments

Popular posts from this blog

java - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -