Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Currently the wiki and the profile manager runs on port 443 (ssl).

We have other services using port 443 on our network, and therefore I cannot port forward that port to my Lion Server.

How can I get the wiki and the profile manager to run on a port other than port 443?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

So I decided to research "Apache" without specifying "OS X" in my research.

I found that you can change the listen port in a conf file

$ mdfind httpd-ssl.conf

    # Found
    # /private/etc/apache2/extra/httpd-ssl.conf

$ cd /private/etc/apache2.extra
$ sudo nano httpd-ssl.conf

    # ctrl + w
    # 443

    # Change Listen 443 to Listen 4444
    # ctrl + o
    # ctrl + x

note: enabling root would allow you to listen on port 444

share|improve this answer
add comment

This is only possible in Snow Leopard server and not Lion Server (I think).

share|improve this answer
1  
It may only be possible via a GUI on Snow Leopard, but I'm fairly confident that changes can be made via Terminal since both OS's use Apache to serve web. –  Chase Florell Jan 16 '12 at 22:05
    
I can sudo nano httpd.conf and change the default listen port for 80 but I can't find the directive for 443. –  Chase Florell Jan 16 '12 at 22:10
    
found it - see my answer. –  Chase Florell Jan 16 '12 at 22:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.