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.
Okay, so our production application server is configured that it listens on 443 for https requests, and 4848 is on https too (instead of the default http). When I create a new web application, and select "run" from the right-click menu, it opens up the following url: http://hostname.of.the.server:0/projectname which is clearly wrong.
I will investigate this and see what change needs to be made in the IDE code.
How did you get the server to use port 443? What changes did you make from the original domain.xml file?
on the web admin (port 4848), under configuration -> http service -> http listeners I did disable the 8080 port listener, and changed http-listener-2's port to 443, and checked in "security". IIRC in factory defaults, this listenre is not even enabled, and has a port of 8181. so right now, I only have that one listener + admin-listener for port 4848, and I did check in "security" on that listener too (so :4848 works only with ssl now).
you may want to try the following... enable http-listener-1 with port == 443 and security enabled. disable http-listener-2 instead.
when I do as you suggested above (disable http-listener-2 completely, and setup http-listener-1 on 443 w/ security) then it still opens the wrong url. if I enable http-listener-2 without(!) security, then it opens up that address correctly. well, I believe security is something we need to support :)
thanks for the additional info
This fell between the cracks... this is a missing feature. It won't get in to 6.8.
Created attachment 89461 [details] These are some initial 'thoughts'... mostly incorrect... but i do not want them to get completely lost
this was easier than I originally expected... Amazing what a good night's sleep can do for the creative side of the brain...
http://hg.netbeans.org/web-main/rev/da14b497c839
Note: if the production server is remote, you will need to enable http-listener-1, with security enabled on port 443. If it is local, things should 'just work'...
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/da14b497c839 User: vince kraemer <vkraemer@netbeans.org> Log: #167694: use https instead of http when appropriate