0

How to change server port?
 

How to change server port ..
for example, :
change the port to be 2020 instead of 8080

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Ahmed Farouk's avatar
81
Ahmed Farouk
asked 4 years ago

Comments

see more comments

1 Answer

0

1- Stop Tomcat
2- Add line server=http://localhost:2020 in nama.properties
3- Change Port from 8080 to 2020 in Server.xml
4- Start Tomcat

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Ahmed Farouk's avatar
81
Ahmed Farouk
answered 4 years ago, updated 4 years ago
link

Comments

see more comments

Your Answer

Login/Signup to Answer