Change default application port

7 views
Skip to first unread message

Kevin Pinochet

unread,
Aug 5, 2025, 3:13:07 PMAug 5
to HAPI FHIR
Hi,

What's the proper way to change HAPI default port to 8888?

I'm trying to deploy a HAPI Server to GCP Cloud Run. 

I'm doing a nginx reverse proxy to receive requests at port 8080 and redirects to a container that must have a different port (8888 for example)

I read in this issue (https://github.com/hapifhir/hapi-fhir-jpaserver-starter/pull/274#issuecomment-919231759) that it is posible to change the default hapi port in docker setting `server.port` variable like this: docker run -p 8888:8888 -e server.port-8888 hapiproject/hapi:v8.2.0-2

But i'm unable to replicate it in my local as well as in Cloud Run. 

Thanks

Rob Ferguson

unread,
Aug 5, 2025, 5:00:11 PMAug 5
to HAPI FHIR
Reply all
Reply to author
Forward
0 new messages