O
O
Oleg Mikhailov2018-08-28 11:02:50
Java
Oleg Mikhailov, 2018-08-28 11:02:50

Is it possible for SpringBoot to listen on a port that is already running Apache locally?

There is a SpringbootApplication that listened to server.port = 8090 through the config .
But Apache is already configured locally, which is deployed on port 8080, and how can I make SpringBootApp listen on this port 8080?
Or maybe there is some guide on how to raise it without SpringBoot, I'm already confused

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-08-28
@Olegatorapp

If a port is opened by one program, another can no longer use it. You can try to configure Apache to proxy traffic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question