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 / First Aid / April 2004

Tip: Looking for answers? Try searching our database.

ServerSocket Accepting two connections from one Client

Thread view: 
Sam Betts - 18 Apr 2004 19:38 GMT
Hi,

I've got an slightly odd problem. I've got a network with a java-app
server, and on the same network another PC with my java client. The
server is also a proxy server, so has a visible IP address on the
Internet aswell as the internal address. There is also a DNS alias
setup for the external IP address, for which the java client is
connecting to.

The problem is that when a connection request is made by the client,
the server creates TWO connections; one for the LAN address, and one
for the external address! This never showed itself until now because
the system was being run on the localhost.

Has anyone got any solutions/suggestions to this problem please? My
java networking abilities are fairly limited; i nicked the connection
code from a sun tutorial and i undertand how that works, but little
else.

Thanks in advance,

          Sam
Steve Horsley - 18 Apr 2004 21:41 GMT
> Hi,
>
[quoted text clipped - 18 lines]
>
>            Sam

Sounds very odd to me. Can you use a program like Ethereal (it's free)
to get a network trace and see what's occuring?

Steve


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



©2008 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.