Results 1 to 6 of 6

Thread: How can I change http, https, and other ports?

  1. #1
    jwf6911 is offline Active Member
    Join Date
    Apr 2007
    Posts
    25
    Rep Power
    8

    Default How can I change http, https, and other ports?

    When I installed Zimbra, I was asked to adjust some related information. Since there was another web server running within my firewall, I chose a differnt port for http (say 8880) and https (say 44443). Now I need to find out how I can change the http port from 8880 to 80, https port from 44443 to 443. Thanks

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

  3. #3
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default change ports

    for future reference if someone searches THIS thread...or if you didn't find it:

    server.xml in /opt/zimbra/tomcat/conf

    -might have to make use of web.xml and several of the *.in files (haven't checked this lately)

    zmprov ms can do what you want and also helps set ports for smtp, imap, pop, etc
    Last edited by mmorse; 05-05-2007 at 11:37 PM.

  4. #4
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    That is not correct.
    Server.xml should not be modified, and there is no corresponding .in file.
    It should be modified using the zmprov ms

    The search revealed:

    Code:
    sudo su
    zmprov ms myserver.domain.com zimbraMailPort (port#) zimbraMailSSLPort (SSL#)
    tomcat restart
    Took about 5 seconds to find. 3rd result down.

  5. #5
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    just checked-I have a server.xml.in and this is a straightfoward install of 4.5.4 not an upgrade process or anything
    ?????

  6. #6
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    You're right.

    Either editing the file or using the zmprov command will come out with the same result.

    However, because server architecture will change over time, this conf.in file may not always exist.

    Additionally, the documented way of changing the port is the zmprov command.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •