[Mono-dev] mono wcf

Rob Wilkens robwilkens at gmail.com
Tue Jul 31 21:47:49 UTC 2012


I believe if you look up 'localhost' in your hosts file, it will
translate it to 127.0.0.1 -- if your machine has another IP address or
name, you should probably not specify localhost.

I'm not saying it's not broken, but that's the way localhost usually
translates to IP address form.

-Rob

On 07/31/2012 05:45 PM, icorderi wrote:
> It *should *work but it *doesn't*.
>
> I'm facing the same issue described by hiking.
>
> Basically, when you host the wcf service on the console with a uri like
> "net.tcp://localhost:8081" on a linux box the socket address is not bind to
> listen on 0.0.0.0:8081 instead it listens on 127.0.0.1:8081 essentially
> refusing all connections from other machines.
>
> You can run this to check it on a linux box
> netstat -na | grep 8081
>
> mono --version shows
> Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2)
>
> All examples online have the some problem once you split client/server to
> different machines.
> Any fix out there? some workarounds?
>
> Thanks,
> -Ignacio
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/mono-wcf-tp3398970p4650665.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list