Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Command In ReadMe Not Working #791

Open
KMCGit opened this issue Aug 28, 2024 · 0 comments
Open

Docker Command In ReadMe Not Working #791

KMCGit opened this issue Aug 28, 2024 · 0 comments

Comments

@KMCGit
Copy link

KMCGit commented Aug 28, 2024

I attempted to use the following command to change the Port the application ran on

docker run -p 8081:8080
-e SERVER_ADDRESS="http://localhost:8081/fhir" \
alphora/cqf-ruler

docker run -p 8081:8080 -e SERVER_ADDRESS="http://localhost:8081/fhir" alphora/cqf-ruler


APPLICATION FAILED TO START


Description:

Failed to bind properties under 'server.address' to java.net.InetAddress:

Property: server.address
Value: "http://localhost:8081/fhir"
Origin: System Environment Property "SERVER_ADDRESS"
Reason: failed to convert java.lang.String to java.net.InetAddress (caused by java.net.UnknownHostException: http://localhost:8081/fhir: Name or service not known)

Action:

Update your application's configuration

(I just wanted to point out / share as it is instructed in the ReadMe and does not work as intended/instructed)

What would then be the best way to change the port?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant