Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

localhost2host.docker.internal

Descripción

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.

Instalación

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

Reseñas

10 de julio de 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!
Leer todas las 0 reseñas

Colaboradores y desarrolladores

«localhost2host.docker.internal» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «localhost2host.docker.internal» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.