• Resolved Roberto Jobet

    (@robertojobet)


    Hi,

    Running WP on Nginx stack.
    Trying to activate full WAF mode, the following message shows up:

    “cURL error 7: Failed to connect to domain.com port 443: Connection refused”

    Port 443 is opened and working normally. No other plugins installed, only Ninja FW.

    Uploaded ninjacheck.php file. This is the output:

    HTTP server : nginx/1.14.0
    PHP version : 7.2.24-0ubuntu0.18.04.7
    PHP SAPI : FPM-FCGI

    auto_prepend_file : none
    wp-config.php : found in /var/www/domain.com/wp-config.php
    NinjaFirewall detection : NinjaFirewall WP Edition is loaded (WordPress WAF mode)

    Loaded INI file : /etc/php/7.2/fpm/php.ini
    user_ini.filename : .user.ini
    user_ini.cache_ttl : 300 seconds
    User PHP INI : .user.ini found –

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nintechnet

    (@nintechnet)

    It looks like the sandbox used to test the Full WAF mode cannot connect back to your site.
    Try to add this line to your wp-config.php:
    define('NFW_BYPASS_SANDBOX', true);

    Then try to run the Full WAF mode installer again.

    Thread Starter Roberto Jobet

    (@robertojobet)

    Great, that solved the problem!

    After activating it, I can safely remove the directive in wp-config.php file?

    Regards

    Plugin Author nintechnet

    (@nintechnet)

    You can remove the directive from the wp-config.php file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Connection refused trying to activate full WAF mode’ is closed to new replies.