[wp-trac] [WordPress Trac] #52708: Loopback requestss do not work on the local development environment

WordPress Trac noreply at wordpress.org
Wed Mar 3 22:21:17 UTC 2021


#52708: Loopback requestss do not work on the local development environment
------------------------------+-----------------------------
 Reporter:  johnbillion       |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:                    |
------------------------------+-----------------------------
 Within the local development environment, loopback requests do not work
 because `localhost:8889` does not resolve. This means the following are
 broken:

 * WP-Cron event spawning
 * Theme editor
 * Plugin editor
 * Multisite network upgrades

 The error can be seen on the Site Health screen, by attempting to edit a
 PHP file with the theme or plugin editor, or by running `npm run env:cli
 cron test`. The error is:

 {{{
 cURL error 7: Failed to connect to localhost port 8889: Connection refused
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52708>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list