• Hi all
    been building this website on my PC for some time a few weeks ago windows done a big update and I am sure I updated WordPress to
    Firefox returns
    Firefox can’t establish a connection to the server at 127.0.0.1:81.
    Internet explorer returns
    cannot reach this page
    click fix this problem returns
    the device or resource (127.0.0.1) is not set up to accept connections on ports host2-ns”.
    This is the address in a word document
    http://127.0.0.1:81/wordpress/contact-us-area-covered/
    returns
    unable to open http://127.0.0.1:81/wordpress/contact-us-area-covered/. Cannot locate Internet server or proxy server
    edit Hyperlink
    http://127.0.0.1:81/wordpress/contact-us-area-covered/
    returns this is not the correct folder
    Sorry should be a picture here
    it goes to a folder box folder being new aA Londo which contains all the pictures and stuff

    which is not the WordPress folder?
    WordPress folder is wordpress aa that is the folder that containing all the WordPress folders (C:\Users\markb\Desktop\wordpress aa)
    your help and advice would be much appreciated
    thank you in advance
    Mark

    • This topic was modified 6 years, 9 months ago by markbow.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator bcworkz

    (@bcworkz)

    Are you sure port 81 is correct? It’s rather unusual. Port 80 is much more common.
    Try 127.0.0.1:80/wordpress/
    or 127.0.0.1/wordpress/
    or localhost/wordpress/

    Thread Starter markbow

    (@markbow)

    Many thanks for the reply
    I tried all three

    The only thing that changed was the requested URL

    HTTP Error 404.0 – Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
    Most likely causes:
    • The directory or file specified does not exist on the Web server.
    • The URL contains a typographical error.
    • A custom filter or module, such as URLScan, restricts access to the file.
    Things you can try:
    • Create the content on the Web server.
    • Review the browser URL.
    • Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.
    Detailed Error Information:
    Module IIS Web Core
    Notification MapRequestHandler
    Handler StaticFile
    Error Code 0x80070002
    Requested URL http://127.0.0.1:80/wordpress/
    Physical Path C:\inetpub\wwwroot\wordpress\
    Logon Method Anonymous
    Logon User Anonymous

    Moderator bcworkz

    (@bcworkz)

    You connected to the server at least. That’s a little progress at least. It looks like the WP files are not installed in the /wordpress/ folder in the public html folder of your server installation. What did you use to setup a web server? The answer to where public HTML is varies by server setup method. For example, for most XAMPP installations in Windows, the WP files would go in C:\xampp\htdocs\wordpress\

    Thread Starter markbow

    (@markbow)

    Hi bcworkz
    thank you for the reply
    I did not use xampp But did come across it when I was looking into this problem
    I downloaded the word pressed and installed it many months ago and have been using it with no problem
    next time I used it would not connect to localhost although I think there may be some old WordPress staff still on my PC
    all the files for WordPress files are in
    file:///C:/Users/markb/Desktop/wordpress%20aa/
    it seems strange when you go to
    http://127.0.0.1:81/wordpress/contact-us-area-covered/
    and click hyperlink it returns
    http://127.0.0.1:81/wordpress/contact-us-area-covered/
    with look in new aa London folder at the top which is not the correct folder

    Index of file:///C:/Users/markb/Desktop/wordpress aa/
    Up to higher level directory
    Name
    Size
    Last Modified

    README.txt

    13 KB 20/01/2019 21:24:21
    apache2

    20/01/2019 21:22:56
    apps

    20/01/2019 21:20:04
    bnsupport

    20/01/2019 21:20:40
    changelog.txt

    28 KB 20/01/2019 21:24:21
    common

    20/01/2019 21:17:40
    imagemagick

    20/01/2019 21:18:46
    img

    20/01/2019 21:18:59
    letsencrypt

    20/01/2019 21:17:49
    licenses

    20/01/2019 21:20:40
    manager-windows.exe

    2936 KB 27/02/2017 09:04:35
    mysql

    20/01/2019 21:17:50
    php

    31/05/2019 22:40:15
    properties.ini

    2 KB 19/06/2019 17:50:32
    scripts

    20/01/2019 21:20:42
    serviceinstall.bat

    7 KB 20/01/2019 21:18:59
    servicerun.bat

    7 KB 20/01/2019 21:18:59
    sqlite

    20/01/2019 21:18:59
    uninstall.dat

    253 KB 20/01/2019 21:24:56
    uninstall.exe

    8494 KB 20/01/2019 21:24:56
    use_wordpress.bat

    1 KB 20/01/2019 21:20:42

    Thread Starter markbow

    (@markbow)

    I don’t know If this may help solve the problem
    my Internet is working perfectly okay
    file:///C:/Users/markb/Desktop/wordpress%20aa/apps/wordpress/htdocs/wp-admin/install.php

    The below is what is returned
    Error: PHP is not running
    WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.
    >
    prepare( ‘SHOW TABLES LIKE %s’, $wpdb->esc_like( $wpdb->users ) ); $user_table = ( $wpdb->get_var( $sql ) != null ); // Ensure that Blogs appear in search engines by default. $blog_public = 1; if ( isset( $_POST[‘weblog_title’] ) ) { $blog_public = isset( $_POST[‘blog_public’] ); } $weblog_title = isset( $_POST[‘weblog_title’] ) ? trim( wp_unslash( $_POST[‘weblog_title’] ) ) : ”; $user_name = isset( $_POST[‘user_name’] ) ? trim( wp_unslash( $_POST[‘user_name’] ) ) : ”; $admin_email = isset( $_POST[‘admin_email’] ) ? trim( wp_unslash( $_POST[‘admin_email’] ) ) : ”; if ( ! is_null( $error ) ) { ?>

    ‘; } else { ?>

    />
    />
    />

    ‘submit’ ) ); ?>
    ‘ . __( ‘Already Installed’ ) . ” . ‘
    ‘ . __( ‘You appear to have already installed WordPress. To reinstall please clear your old database tables first.’ ) .

    Moderator bcworkz

    (@bcworkz)

    “Error: PHP is not running” Yeah, that’s a problem. PHP usually auto-starts when you start up the server, which itself might be auto-started. If PHP doesn’t start, something is wrong with a server configuration file. The specifics depend on what server package you use, and which version. For example, Apache server might need a configuration line like:
    LoadModule php7_module "c:/php/php7apache2_2.dll" (YMMV)
    which actually starts PHP. Other configuration lines are needed to properly handle PHP files, recognize the MIME type, etc.

    Since this all was working at one time, apparently your server installation became corrupted for some reason. You might consider uninstalling your server package and reinstalling from a fresh download. Alternately, seek assistance from your sever package provider.

    This isn’t really a WP issue. I will still offer any advice I can, but server setup is a little outside my range of expertise. Usually I install it and it works.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘unable to connect to localhost Firefox can’t establish a connection’ is closed to new replies.