Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change port 8080 for jhipster app

Tags:

jhipster

I have already specified port 8080 for my jhipster apps during the initialization of the apps at the beginning when creating them with yo jhipster.

Now, I would like to know how I can change the port 8080 so I can run several apps at the same time.

like image 411
edkeveked Avatar asked Dec 01 '22 15:12

edkeveked


1 Answers

2 alternatives:

  • Edit .yo-rc.json file, change or add serverPort property like "serverPort": "8100", then re-generate your app with jhipster --with-entities if you did not make many changes or use jhipster upgrade --force if you did.
  • Change port value in application*.yml files and proxy.conf.json,and probably also in some docker files
like image 169
Gaël Marziou Avatar answered Mar 06 '23 20:03

Gaël Marziou