Upcoming Feature: Payara Micro HTTP & HTTPS auto-binding
Originally published on 17 Jul 2015
Last updated on 05 Apr 2016
![Photo of Andrew Pielage](https://blog.payara.fish/hs-fs/hubfs/Andy.jpg?width=200&name=Andy.jpg)
![fish_3_large.jpg fish_3_large.jpg](https://blog.payara.fish/hs-fs/hubfs/Payara_Blog_Images/fish_3_large.jpg?width=190&name=fish_3_large.jpg)
In the upcoming Payara 4.1.153 release, Payara Micro will be shipping with support for the first working iteration of this new feature. To help and keep Payara as a drop-in replacement for GlassFish though, the auto-binding is not enabled by default, and is instead enabled by passing in an extra option when starting Payara Micro.
The three new Payara Micro options pertaining to this feature are:
- --autoBindHttp – Enables auto-bind functionality for the HTTP port
- --autoBindSsl – Enables auto-bind functionality for the HTTPS port
- --autoBindRange – Sets the range for the auto-bind feature
It’s super easy to use, you just have to set the respective auto-bind option to true for the HTTP and/or SSL port:
java -jar payara-micro.jar --autoBindHttp
java -jar payara-micro.jar --port 8080 --autoBindHttp --autoBindRange 3
Related Posts
Payara Micro: Here's How to Boost Speed and Efficiency
Published on 15 Jul 2024
by Luqman Saeed
0 Comments
The Payara Monthly Catch - June 2024
Published on 26 Jun 2024
by Chiara Civardi
0 Comments