Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
larkmore@aol.com - 30 Mar 2007 22:51 GMT
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.  Both are running WinXP Pro. and using v1.4.2_08
for the JRE/SDK.  Any ideas?
Knute Johnson - 31 Mar 2007 00:20 GMT
> 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
[quoted text clipped - 8 lines]
> on either machine.  Both are running WinXP Pro. and using v1.4.2_08
> for the JRE/SDK.  Any ideas?

I would still suspect a firewall somewhere.  Are you really running
Windows without a firewall?

Signature

Knute Johnson
email s/nospam/knute/

CodeForTea@gmail.com - 31 Mar 2007 00:58 GMT
On Mar 30, 7:20 pm, Knute Johnson <nos...@rabbitbrush.frazmtn.com>
wrote:
> larkm...@aol.com wrote:
> > Just starting to learn networking, and this may not be a Java question
[quoted text clipped - 17 lines]
> Knute Johnson
> email s/nospam/knute/

Try telnet to connect.

Dinesh
Brandon McCombs - 31 Mar 2007 07:07 GMT
> 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
[quoted text clipped - 7 lines]
> 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?
larkmore@aol.com - 02 Apr 2007 22:12 GMT
Bingo.  I guess I either forgot or never knew that XP had a firewall
by default.  Strange that only one of the machines had it turned on.
But it works now.  Thanks!
-Will

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.