OpenMRS sdk doesn't run


I’m trying to run openmrs from Openmrs SDK by running mvn openmrs-sdk:run and I’m getting the following error

Had anyone encountered it and knows what might be wrong?

@raff, @dkayiwa, @dserkowski, @alalo, anyone?

Regards, Tomasz Address already in use (Bind failed) <null>:8081

The log says, Port 8081 already in use (It may be used by other services). So you need to find another port to run the OpenMRS server. You can use this following command to start the server with different port,

mvn openmrs-sdk:run -Dport=8082

1 Like

Thank you very much, @suthagar23!!!

i couldn’t find anything that was blocking the port, but… mvn openmrs-sdk:run -Dport=8082 actually worked:D

Great :smile:

@tmueller FYI newer versions of the SDK detect a port in use, then move to the next port and allow you to set the default port for a server in as server.port=8100