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

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -