Re: C# Reflection - Nasty bug??



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
>
>


.



Relevant Pages

  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Outgoing POP3 email missing/lost/not received
    ... ISP's mail server instead of the domain name on the ... SUMMARY OF SETTINGS FOR CONFIGURE E-MAIL AND INTERNET ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • RE: Problems with Permissions
    ... And SBS server is only take ... the role of an internal server. ... they are all configured to connected to internal network. ... g. Run the Configure Email and Internet Connection Wizard on SBS server. ...
    (microsoft.public.windows.server.sbs)
  • Re: Connection from remote computer to network SQL Server
    ... There is no firewall on the W2K machine acting as the SQL server. ... I tried making the SQL machine a "trusted" on the router. ... connection works. ... To find the IP address of your computer inside the network, ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... be sure you do not enable any DHCP server in internal network. ... You do not get any issue when you connect the SBS to the old router, ... On the Connection Type page, click Broadband, and then click Next. ...
    (microsoft.public.windows.server.sbs)