This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21408 - Localhost not found in extbrowser
Summary: Localhost not found in extbrowser
Status: RESOLVED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: Internal Server (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on: 17041
Blocks:
  Show dependency tree
 
Reported: 2002-03-10 19:10 UTC by Jaroslav Tulach
Modified: 2016-05-25 05:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-03-10 19:10:49 UTC
I am not sure if this is a bug of extbrowser or httpserver, I expect the
later...

Often I get to a situation when the conversion of nbfs URL is not done
correctly. I start nb on a laptop, select html file and try to view it using
external browser. In my one case I recieve URL starting with
"http://nb:8083/...." and in seconde "http://jana:8082/..." that is ok, but I
actually needed the address to be nb.jst in first case and I do not which
address in the second case (you know notebooks need to work in more than one
network...).

I am able to get around this problem by changing _eachtime_ the URL in explorer
by hand (localhost or 127.0.0.1 is usally fine). Bad, but works for me, but does
not work for other people around me I want to use the IDE... So I searched
Tools/Option to specify API address for the HTTP server, but there is no such
option...

Please either fix the bug that the address is not accurate or add option when I
can set it up. Thanks.
Comment 1 _ rkubacki 2002-03-12 10:31:38 UTC
The problem is usually in browser configuration - if you set proxy you
need to correctly specify list of bypassed hosts.

I am not sure about additional option - extbrowser is client that asks
httpserver for URL so we would need to add something like 'machine
identification' to httpserver options. The possibilities are hostname
obtained from InetAddress.getLocalHost.getName(), "localhost", 127.0.0.1.

Is the nbui proper place for such discussion? Can you send your idea here?
Comment 2 Jaroslav Tulach 2002-03-12 11:05:09 UTC
Posted to nbui with suggestions to how to add the property.
Comment 3 _ rkubacki 2002-03-12 16:27:53 UTC
Adjusting priority
Comment 4 Marek Grummich 2002-07-22 09:11:58 UTC
Set target milestone to TBD
Comment 5 Marek Grummich 2002-07-22 09:15:14 UTC
Set target milestone to TBD
Comment 6 _ rkubacki 2003-11-28 16:08:41 UTC
Reassigning