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 17041 - Use 127.0.0.1 URL by default for localhost when executing web apps
Summary: Use 127.0.0.1 URL by default for localhost when executing web apps
Status: CLOSED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks: 21408
  Show dependency tree
 
Reported: 2001-10-26 17:20 UTC by jhoffman
Modified: 2003-07-02 08:27 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 jhoffman 2001-10-26 17:20:59 UTC
We would like to increase the chances that execution of a web app on the
developer's machine will work "out of the box" without issues related to the
IDE's proxy server settings.

One approach to alleviate proxy issues when executing a web app is to use 
the default URL of http://127.0.0.1 instead of http://<machine-name>

Provide an option under JSP & Servlets area to allow the user to set the
execute URL to <machine name>, 127.0.0.1 or the term "localhost".

See related bug:
http://www.netbeans.org/issues/show_bug.cgi?id=13702
regarding the ability to set nonProxyHosts within the IDE.
Comment 1 Jan Chalupa 2001-11-27 17:36:57 UTC
Target milestone -> 3.3.1.
Comment 2 _ rkubacki 2001-11-28 13:51:58 UTC
Do you mean a property in Tools | Options | Exec & Debugging | JSP &
Servlet? This can be confusing with newly developed Tomcat40 plugin
where you can define more <host> elements in your server.xml and it is
expected that when you deploy (execute) an application it will be
shown using this host name.

According to this it would be better to raise priority of #13702 and
close this issue but I am not sure
Comment 3 _ rkubacki 2002-04-11 16:57:43 UTC
http://www.netbeans.org/issues/show_bug.cgi?id=21408 is entered to
change URLs generated in extbrowser. As stated above the execution of
web app uses URLs provided by plugins and Tomcat generates host name
from content of server.xml file. The is a requirement because without
this you won't be able to test virtual host configuration.
Comment 4 Quality Engineering 2003-07-02 08:25:35 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.

Comment 5 Quality Engineering 2003-07-02 08:27:57 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.