Re: C# Reflection - Nasty bug??



Can you telnet into localhost to the port your server is running and get
some kind of a prompt instead of "Connection cannot be established?" like

dos prompt> telnet localhost 12345

12345 is port number, I don't remember exactly which port you were using so
drop your port number in place of 12345. If you don't get a prompt your
server is:

1) Not accepting connections
2) Being blocked

Thats where I would start.

"David Krmpotic" <david.krmpotic@xxxxxxxx> wrote in message
news:3aq4e.11076$F6.2182498@xxxxxxxxxxxxxxxx
> Thank you Alex.
> I don't have a firewall on the affected machine. What do you mean exactly
> by
> "is it possible for you to indicate that all connections in your program
> must go to localhost or 127.0.0.1"? I don't quite understand it. Of course
> I
> know what is 127.0.0.1 and localhost, but I still don't know what are you
> asking. Could you clarify? Thank you.
>
>
> "Alex Passos" <bz@xxxxxxxxxxxxxxxxxxxx> wrote in message
> news:uvbbgaUOFHA.3960@xxxxxxxxxxxxxxxxxxxxxxx
>> 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: Still cant connect to RWW or OWA remotely
    ... it certainly appears to be something about the SBS configuration. ... Meridian.local Ethernet adapter Local Area Connection: ... Windows SMALL BUSINESS SERVER 2003 Windows IP Configuration ... 192.168.254.254) directly to a port on the router and then ...
    (microsoft.public.windows.server.sbs)
  • Re: Still cant connect to RWW or OWA remotely
    ... it certainly appears to be something about the SBS configuration. ... Meridian.local Ethernet adapter Local Area Connection: ... Windows SMALL BUSINESS SERVER 2003 Windows IP Configuration ... 192.168.254.254) directly to a port on the router and then ...
    (microsoft.public.windows.server.sbs)
  • RE: VBscript Error on SBS2k3
    ... DHCP Server turned of SonicWALL with VPN Pass through request for IP to ... the problem should be caused by the 4125 port. ... > | Accessories and Communications and Remote Desktop Connection? ... > | 2.In Internet Explorer on the workstation you are connecting from, ...
    (microsoft.public.windows.server.sbs)
  • Re: interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)
    ... That's the problem tunneling (port forwarding) solves. ... >>can't get past the client firewall. ... > I don't understand why the server would be making the ... server initiates another connection to the client -- in this ...
    (Debian-User)
  • Re: Can not access Web and FTP sites from Internet
    ... your IP Configuration on the Server is correctly. ... Connecting To 12.208.215.87...Could not open connection to the host, ... 1> From the result, we can see the telnet failed, which means the router ... does not forward Port 443 to SBS Server. ...
    (microsoft.public.windows.server.sbs)