Re: C# Reflection - Nasty bug??
- From: "Alex Passos" <bz@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 4 Apr 2005 13:46:32 -0500
I have seen this similar problem but with other network based apps (not
necessarily remoting), is it possible for you to indicate that all
connections in your program must go to localhost or 127.0.0.1? That will
force all packets to go through the internal network loop.
Also it has also occurred to me for you to check your firewall settings on
the local computer and make sure the port is allowed, even if it is in the
same machine the firewall can block packets going into that port.
"David Krmpotic" <david.krmpotic@xxxxxxxx> wrote in message
news:UHd4e.11056$F6.2179307@xxxxxxxxxxxxxxxx
> In specific (repeatable) cases the client fails to connect to the server
> running on the same machine. The client receives the
> System.Net.Sockets.SocketException: "A socket operation was attempted to
> an
> unreachable host" although the server is still running and listening on
> the
> right port (45326 my case).
>
> This happens when LAN (or internet) connection is present upon starting
> the
> server and then desactivated (cable is removed). After LAN is no
> accessible,
> the client cannot connect to the server anymore (note that they are on the
> same machine!). When the cable is reinserted, the connection works again!
>
> On the other side if server is started when LAN is not present, it will
> work
> no matter what.
>
> I put more details here:
>
> http://www.david13.com/cases/DotNet/Remoting-BUG-Server-Inaccessible-From-Local-Machine/
>
> I would kindly ask you to check it and help me with advice so we can
> confirm
> a bug or find a solution together. Thank you very much!
>
> David Krmpotic
> http://www.david13.com
>
>
.
- Follow-Ups:
- Re: C# Reflection - Nasty bug??
- From: David Krmpotic
- Re: C# Reflection - Nasty bug??
- References:
- C# Reflection - Nasty bug??
- From: David Krmpotic
- C# Reflection - Nasty bug??
- Prev by Date: HELP Problem serializing a structure
- Next by Date: Re: #define preprocessor
- Previous by thread: Re: C# Reflection - Nasty bug??
- Next by thread: Re: C# Reflection - Nasty bug??
- Index(es):
Relevant Pages
|