What port would you like your server to use? (default: '8080')

I am setting up OpenMrs but when creating OpenMRS instance i am encountering this question in command line what does it mean? Which port number does it require? @odorajonathan @kdaud @jwnasambu

1 Like

Like you have stated above , default port is 8080. however you can always override this by stating the port you feel like sometimes this should correspond to System.properties files

2 Likes

Okay then another question is remote debugging necessarry

press enter and continue setting up the server and let us know if it fails,Remote debugging will help you while debugging,though there is no much logic

2 Likes

Guys i thought i needed JDK 1.8 and above Here i am being told that JDK 11 wont work. Check out the image

Did you try using 1.8 and encountered a failure, can you share the errors you encountered

i have installed JDK 1.8 and specified the link in the commandline

Am now encountering another problem when trying to run OpenMRS locally. this is what is happening @jwnasambu @odorajonathan @kdaud @sharif @herbert24

Share the full error log at https://pastebin.com/

@suubi7 the command is mvn openmrs-sdk:run and not the other way round.

How do you do that?

Simply go to your command prompt and enter the above command to start your serve.

@jwnasambu i did this but this is the output i got

Sorry about this! ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) .... error occurs when the port is already in use. This usually happen when the server didn’t start successfully making the server still running in the process. If you’re using windows, you can check out your Task Manager (Ctrl+Shift+Esc) and then look for “java.exe” process. Terminate it and try to start your server again.

1 Like