Support » Localhost Installs » Error: cURL error 7:

  • 0000magda0000

    (@0000magda0000)


    Hi,

    I am getting the following performance error with site health analyse

    The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.

    The REST API request failed due to an error.
    Error: cURL error 7: Failed to connect to localhost port 8080: Connection refused (http_request_failed)

    also I am getting a Background updates are not working as expected and Your site could not complete loopback request (both also wirr cURL error 7

    I am running wordpress on localhost:8080 using XAMPP
    There is no firewall running.

    I have tried adding

    define(‘ALTERNATE_WP_CRON’ , true );

    to wp-config.php as described in this thread: https://de.wordpress.org/support/topic/http-api-fehler/ (in german)

    What else can I try?
    Thank you!

    here is my site health info

    
    ### wp-core ###
    
    version: 5.4.2
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: undefined
    https_status: false
    user_registration: 0
    default_comment_status: open
    multisite: false
    user_count: 1
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /opt/lampp/htdocs/writingthroughmaterial
    wordpress_size: 46.55 MB (48813859 bytes)
    uploads_path: /opt/lampp/htdocs/writingthroughmaterial/wp-content/uploads
    uploads_size: 0.00 B (0 bytes)
    themes_path: /opt/lampp/htdocs/writingthroughmaterial/wp-content/themes
    themes_size: 5.07 MB (5311443 bytes)
    plugins_path: /opt/lampp/htdocs/writingthroughmaterial/wp-content/plugins
    plugins_size: 365.42 KB (374194 bytes)
    database_size: 2.13 MB (2228224 bytes)
    total_size: 54.10 MB (56727720 bytes)
    
    ### wp-active-theme ###
    
    name: writingthroughmaterial (writingthroughmaterial)
    version: 1.0.0
    author: Underscores.me
    author_website: http://underscores.me/
    parent_theme: none
    theme_features: automatic-feed-links, title-tag, post-thumbnails, menus, html5, custom-background, customize-selective-refresh-widgets, custom-logo, custom-header, widgets
    theme_path: /opt/lampp/htdocs/writingthroughmaterial/wp-content/themes/writingthroughmaterial
    
    ### wp-themes-inactive (3) ###
    
    Twenty Nineteen: version: 1.5, author: the WordPress team (latest version: 1.6)
    Twenty Seventeen: version: 2.3, author: the WordPress team
    Twenty Twenty: version: 1.2, author: the WordPress team (latest version: 1.4)
    
    ### wp-plugins-inactive (2) ###
    
    Akismet Anti-Spam: version: 4.1.5, author: Automattic (latest version: 4.1.6)
    Hello Dolly: version: 1.7.2, author: Matt Mullenweg
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    gd_version: bundled (2.1.0 compatible)
    ghostscript_version: not available
    
    ### wp-server ###
    
    server_architecture: Linux 4.9.0-11-amd64 x86_64
    httpd_software: Apache/2.4.43 (Unix) OpenSSL/1.1.1g PHP/7.4.6 mod_perl/2.0.8-dev Perl/v5.16.3
    php_version: 7.4.6 64bit
    php_sapi: apache2handler
    max_input_variables: 1000
    time_limit: 120
    memory_limit: 512M
    max_input_time: 60
    upload_max_size: 40M
    php_post_max_size: 40M
    curl_version: 7.53.1 OpenSSL/1.1.1g
    suhosin: false
    imagick_availability: false
    htaccess_extra_rules: false
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.4.11-MariaDB
    client_version: mysqlnd 7.4.6
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /opt/lampp/htdocs/writingthroughmaterial/wp-content
    WP_PLUGIN_DIR: /opt/lampp/htdocs/writingthroughmaterial/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.