S
S
Shing2019-04-10 16:32:34
Nginx
Shing, 2019-04-10 16:32:34

How to change the port for httpd?

I can't enable SSL for the domain, NGiNX is trying to take port 443, but it's already occupied by HTTPD.
How to change HTTPD port? Both should work.
If one of the two slows down, then the second one then does not start, again referring to port 443.
Everything works fine without SSL.
Centos 6.1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2019-04-10
@Shing

you need to change port 443 to any other in all configs in the /etc/httpd folder.
Single file option
option for configs (you may differ)
well, or stupidly handles
to see places where there are mentions, you can just
restart
netstat -ntpl | grep httpd
DON'T forget to make a backup!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question