Re: Networking works from computer A to computer B, but not vice versa ?!?



larkmore@xxxxxxx wrote:
Just starting to learn networking, and this may not be a Java question
so much as a Windows environment question. I've written a little
server program that waits for a client to connect and then spits some
data to the client. Both the client and the server work fine running
on the same computer. If I run the client on computer A and the
server on computer B, they behave properly. However, if I run the
client on computer B and the server on computer A I cannot establish a
connection between the two. Is there some easy way to figure out what
is going on? I tried using different port numbers for the server to
no avail. As far as I know there are no firewall programs installed
on either machine.

That doesn't mean there still isn't a firewall that is preventing the connection from being established. XP has a builtin firewall that has to be turned off within the properties of the LAN connection and I believe it is on by default. Make sure that is off and then try your connection (note the firewall will allow outbound but not inbound so that's why it would work for you going out of computer A as a client but not coming into it as a server).


Both are running WinXP Pro. and using v1.4.2_08
for the JRE/SDK. Any ideas?

.



Relevant Pages

  • Re: remoting not working through vpn
    ... The problem was that the server could not connect with the client using the ... local ip address rather than the ip address of the vpn connection. ... >>and opened that port on the client's firewall, ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: .Net Scalability problem
    ... LoadRunner will peak out a server with a few virtual users. ... To get an idea of load, ... Fire off the test client and watch the number of ... > So I think that the MTC generate concurrent connection and per ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Connection lost at same time every hour (sometimes)
    ... After making the two following alterations on the server the problem seems ... After analyze your ipconfig on SBS and client, ... Then, other connection is good, ...
    (microsoft.public.windows.server.sbs)
  • Re: server disconnection - very often
    ... Reason of permanent popups is VMware server aplication on clients. ... Run CEICW to configure the network of SBS: ... Two network adapters - manual router connection to broadband ... Uninstall VMware on client. ...
    (microsoft.public.windows.server.sbs)
  • Re: Lan setup 2 nic
    ... The external nic only has TCP/IP enabled. ... Ipconfig of the server is looking good, but the client is still missing the ... > connection so we have a 2 nic with router setup now. ...
    (microsoft.public.windows.server.sbs)