Results 1 to 4 of 4

Thread: [SOLVED] Listen on One IP

  1. #1
    Join Date
    Oct 2008
    Posts
    51
    Rep Power
    6

    Default [SOLVED] Listen on One IP

    I need zimbra's Java service that is listening on port 443 to listen on one IP address.

    I currently have zmtlsctl set to redirect.

    Zimbra V6.

  2. #2
    Join Date
    Oct 2008
    Posts
    51
    Rep Power
    6

    Default Work Around

    Well I found aout as much for getting jetty to listen on one NIC as the community has answers to do so.

    I wound up having to tell it to listen on a different port.

    Done very little testing, but it seams to work.

    Command to do this:
    su zimbra
    zmprov ms myserver.domain.com zimbraMailSSLPort [portnumber]

  3. #3
    lweeks is offline Partner (VAR/HSP)
    Join Date
    Aug 2008
    Posts
    10
    Rep Power
    6

    Default

    There is no native means to do this with ZCS. To accomplish it, you must edit the /opt/zimbra/jetty/etc/jetty.xml.in configuration. Save a copy of the original. In each stanza:

    <Call name="addConnector">

    You will add:

    <Set name="host">X.Y.Z.1</Set>

    with your appropriate IP address. I also recommend replicated each stanza and setting the replica to listen on 127.0.0.1 as otherwise you could have issues.

    Restart mailboxd to get the changes to take effect.

    A ZCS upgrade will override your changes, so you'll need to restore them. You must compare the stock jetty.xml.in of your prior version with the new version, and if there are changes, modify the new version rather than just copying your prior modified version into place.

    Larry

  4. #4
    Join Date
    Oct 2008
    Posts
    51
    Rep Power
    6

    Default stanza?

    Quote Originally Posted by lweeks View Post
    There is no native means to do this with ZCS. To accomplish it, you must edit the /opt/zimbra/jetty/etc/jetty.xml.in configuration. Save a copy of the original. In each stanza:

    <Call name="addConnector">

    You will add:

    <Set name="host">X.Y.Z.1</Set>

    with your appropriate IP address. I also recommend replicated each stanza and setting the replica to listen on 127.0.0.1 as otherwise you could have issues.

    Restart mailboxd to get the changes to take effect.

    A ZCS upgrade will override your changes, so you'll need to restore them. You must compare the stock jetty.xml.in of your prior version with the new version, and if there are changes, modify the new version rather than just copying your prior modified version into place.

    Larry
    Is a stanza the config files for the URLs: zimbra.web.xml.in and zimbraAdmin.web.xml.in.

    Are you saying that in those files:
    <context-param>
    <param-name>zimbra.soap.url</param-name>
    <param-value>http://localhost:7070/service/soap</param-value>
    </context-param>

    Needs to be changed to:
    <context-param>
    <param-name>zimbra.soap.url</param-name>
    <param-value>http://127.0.0.1/service/soap</param-value>
    </context-param>

    Honestly, I've read the forum posts on that, I wouldn't have posted if it had worked for me.

    Let me know if I had misunderstood something.

    I will definetly test any suggestions to see if it works.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ZCS7 Beta only Listens on IPv6
    By tobru in forum Installation
    Replies: 2
    Last Post: 03-25-2011, 03:31 AM
  2. Replies: 32
    Last Post: 03-18-2011, 11:03 AM
  3. Did I miss something? (Zimbra GA 6.0.8 on Ubuntu 10.04)
    By vpetersson in forum Installation
    Replies: 2
    Last Post: 10-26-2010, 06:29 AM
  4. Problem: Webmail access via HTTPS
    By th0 in forum Installation
    Replies: 4
    Last Post: 04-16-2008, 03:50 AM
  5. Replies: 12
    Last Post: 02-24-2008, 12:16 AM

Posting Permissions

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