Title: localhost2host.docker.internal
Author: enomoto celtislab
Published: <strong>24 de juny de 2024</strong>
Last modified: 24 de juny de 2024

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/localhost2host-docker-internal.svg)

# localhost2host.docker.internal

 Per [enomoto celtislab](https://profiles.wordpress.org/enomoto-celtislab/)

[Baixa](https://downloads.wordpress.org/plugin/localhost2host-docker-internal.0.4.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/localhost2host-docker-internal/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/localhost2host-docker-internal/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/localhost2host-docker-internal/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/localhost2host-docker-internal/#developers)

 [Suport](https://wordpress.org/support/plugin/localhost2host-docker-internal/)

## Descripció

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.

## Instal·lació

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

## Ressenyes

![](https://secure.gravatar.com/avatar/bce40e97210b52eae7cd03c41e160d2e971fedea0dc4264f1d2da077ac3e9a96?
s=60&d=retro&r=g)

### 󠀁[Simple and best solution in wordpress/env(wp-env) development](https://wordpress.org/support/topic/simple-and-best-solution-in-wordpress-envwp-env-development/)󠁿

 [Fumiki Takahashi](https://profiles.wordpress.org/takahashi_fumiki/) 10 de juliol
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!

 [ Llegiu totes les 0 ressenyes ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/)

## Col·laboradors i desenvolupadors

«localhost2host.docker.internal» és programari de codi obert. La següent gent ha
col·laborat en aquesta extensió.

Col·laboradors

 *   [ enomoto celtislab ](https://profiles.wordpress.org/enomoto-celtislab/)

[Traduïu «localhost2host.docker.internal» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/localhost2host-docker-internal)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/localhost2host-docker-internal/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/localhost2host-docker-internal/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/localhost2host-docker-internal/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/localhost2host-docker-internal/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versió **0.4.0**
 *  Darrera actualització **fa 2 anys**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 6.3 o posterior **
 *  Provada fins a **6.5.11**
 *  Versió del PHP ** 8.1 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/localhost2host-docker-internal/)
 * Etiquetes
 * [localhost](https://ca.wordpress.org/plugins/tags/localhost/)[site health](https://ca.wordpress.org/plugins/tags/site-health/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/localhost2host-docker-internal/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  1 valoració de 5 estrelles     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=1)

[La vostra ressenya](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/)

## Col·laboradors

 *   [ enomoto celtislab ](https://profiles.wordpress.org/enomoto-celtislab/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/localhost2host-docker-internal/)