Tiu ĉi kromprogramo ne estis testita en la 3 lastaj gravaj eldonoj de WordPress. Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj versioj de WordPress.

Image

localhost2host.docker.internal

Priskribo

Prevents loopback request errors in WordPress environments using Docker such as wp-env.

Replace requests to localhost with host.docker.internal, and if https, change to http and turn off sslverify.

There are no settings. Just enable this plugin.

Instalo

  1. Upload the localhost2host-docker-internal folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress

Pritaksoj

Image
Julio 10, 2025
If you have troubles in local development with wp-env, use this plugin. In your .wp-env.json , add this plugin’s download URL(NOTICE: review comment is not allowed to include URL, add https +:// just before the downloads.wordpress.org { “plugins”: [ “.”, “[schema here]downloads.wordpress.org/plugin/localhost2host-docker-internal.latest-stable.zip” ]} WordPress’ self remote request(e.g. WP-Cron) starts working as expected! Arigato!
Legi ĉiujn 0 pritaksojn

Kontribuantoj k. programistoj

“localhost2host.docker.internal” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Traduki “localhost2host.docker.internal” en vian lingvon.

Ĉu interesita en programado?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.