• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Cannot change apache port on PLESK 11.5.30

Androz

New Pleskian
Hello,

I am trying to setup varnish 3 with plesk 11.5.30

I have not installed nginx component and followed this knowledgebase article

http://kb.parallels.com/en/114249

I have change the following in Apache conf. I am on Debian Wheezy so

/etc/apache2/ports.conf
LISTEN 8080
NameVirtualHost *:8080

/etc/sites-enabled/000-default
<VirtualHost *:8080>

and i can see that the auto-generated domain conf apache files have applied the port changes.
netstat shows:
Code:
tcp6       0      0 :::8080                 :::*                    LISTEN      3806/apache2    
tcp6       0      0 :::443                  :::*                    LISTEN      3806/apache2

When i navigate to www.domain.com:8080 i see the Apache default page(It works!),

Thanks in advance for any help.

PS: I have not yet install varnish, just want to setup the apache first. This happens on a new domain setup, and if i reverse the changes all come back to normal.
 
Thanks for quick reply,

I have already changed that and tried a diffrent port(8080 -> 3456).

Here is my output from grep after changing all occurences of $VAR->server->webserver->httpPort

Code:
/usr/local/psa/admin/conf/templates/custom/default # grep -rwn . -e 3456
./nginxDomainVhost.php:34:        'backendPort' => 3456,
./domain/frameForwarding.php:1:<VirtualHost <?php echo $OPT['ipAddress']->escapedAddress?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . ($OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456) : ''; ?>>
./domain/domainVirtualHost.php:11:<VirtualHost <?php echo $OPT['ipAddress']->escapedAddress ?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> <?php echo ($VAR->server->webserver->proxyActive && $OPT['ipAddress']->isIpV6()) ? "127.0.0.1:" . ($OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456) : ''; ?>>
./domain/standardForwarding.php:1:<VirtualHost <?php echo $OPT['ipAddress']->escapedAddress?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . ($OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456) : ''; ?>>
./server/nameVirtualHost.php:5:        : 3456) . "\n" ?>
./server/nameVirtualHost.php:12:        : 3456) . "\n" ?>
./server/mailman.php:12:        <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./server/mailman.php:17:        <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./server/mailman.php:19:    <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . 3456 : ''; ?> \
./server/vhosts.php:7:        <?php echo $ipAddress->escapedAddress ?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> \
./server/vhosts.php:9:        <?php echo $ipAddress->escapedAddress ?>:<?php echo $OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456 ?> \
./server/vhosts.php:11:        <?php if ($VAR->server->webserver->proxyActive) echo '127.0.0.1:' . ($OPT['ssl'] ? $VAR->server->webserver->httpsPort : 3456) ?> \
./horde.php:24:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./horde.php:29:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./horde.php:31:    <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . 3456 : ''; ?> \
./nginxDomainForwarding.php:16:                'backendPort' => 3456,
./atmail.php:18:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./atmail.php:23:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./atmail.php:25:    <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . 3456 : ''; ?> \
./nginxWebmail.php:20:        'backendPort' => 3456,
./roundcube.php:22:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./roundcube.php:27:    <?php echo "{$ipAddress->escapedAddress}:3456" ?> \
./roundcube.php:29:    <?php echo ($VAR->server->webserver->proxyActive) ? "127.0.0.1:" . 3456 : ''; ?> \
./nginx.php:9:        proxy_pass http://<?php echo $ipAddress->proxyEscapedAddress . ':' . 3456 ?>;

I run /usr/local/psa/admin/sbin/httpdmng --reconfigure-all and still i am getting "!It works" as output.

Do you have any other suggestions?Maybe a change somewhere else?.

Thanks
 
Back
Top