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 204299 - Open in Browser uses localhost for remote server
Summary: Open in Browser uses localhost for remote server
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 07:45 UTC by Jiri Skrivanek
Modified: 2011-11-02 11:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-10-27 07:45:26 UTC
If you use "Open in Browser" on an application deployed on remote GlassFish server it opens browser at http://localhost:8080/WebApplicationRemote which is wrong. Also server properties shows Location: localhost:8080. To reproduce:

- install and start GlassFish at remote host
- add remote GlassFish instance in IDE on local host
- create and run web project
- browser is opened at correct address http://my.remote.host:8080/WebApplicationRemote/
- go to Services
- expand "Servers|Remote Server|Applications"
- right-click WebApplicationRemote and choose "Open in Browser"
- it opens browser at http://localhost:8080/WebApplicationRemote

Product Version: NetBeans IDE Dev (Build 201110250600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Vince Kraemer 2011-10-27 19:49:39 UTC
could replicate
Comment 2 Vince Kraemer 2011-10-31 17:29:52 UTC
in main-golden... so it should be in the dev build...

http://hg.netbeans.org/main-golden/rev/68e99a1df4e5