OpenLiberty / guide-security-intro

An introductory guide on how to secure a web application through authentication and authorization using Java EE 8 Security API: https://openliberty.io/guides/security-intro.html
Other
8 stars 11 forks source link

update server.xml so that the app can be run remotely #200

Closed tam512 closed 1 month ago

tam512 commented 2 months ago

Currently the guide-security-intro app can only be run locally with http://localhost:9080 Is there a reason that we don't want to have host="*" in <httpEndpoint .../> as following so that it can be accessed remotely?

 <httpEndpoint host="*"
    id="defaultHttpEndpoint"
    httpPort="${http.port}"
    httpsPort="${https.port}" />
gkwan-ibm commented 1 month ago

We will study. I guess we can add host="*" in the httpEndpoint configuration

gkwan-ibm commented 1 month ago

close