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 / January 2006

Tip: Looking for answers? Try searching our database.

URL.openStream in an applet causes NBNS name query

Thread view: 
rayriots@gmx.de - 15 Jan 2006 17:29 GMT
Hi,

within an applet I do an url.openStream() and that works, i mean I get
the correct response. But immediately after calling the method a NBNS
name query is sent to the remote server. That seems to be a NetBIOS
request at post 137 (according to ethereal) , but I don't want to do
anything with netbios or something.

Because the remote port 137 is closed (and that is ok) the request is
refused (with port unreachable) after the timout and the client tries
it about 10 times. After that i get the response of my original
request.
Although my request with openStream() works it takes about 10 seconds
to get the response this way.  But why does the applet tries to do that
query?

Does anybody know what is going on and how to fix it?

BTW I'm using Windows XP home with java version  1.5.0-b64
in java.policy i have:
permission java.net.SocketPermission "*:1-1023",
"connect,accept,resolve";

Ethereal says about the query:
Name query: NBNS: Name query NBSAT *<00><00><00>........<00>: type
NBSTAT, classIN
Response after timeout: ICMP: Destination unreachable (Port
unreachable)

Thank you
Ray
josh.s17@gmail.com - 15 Jan 2006 19:49 GMT
This sounds more like a result of the network settings in windows than
anything to do with your applet code.


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.