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

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

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

# localhost2host.docker.internal

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

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

 * [Detalhes](https://br.wordpress.org/plugins/localhost2host-docker-internal/#description)
 * [Avaliações](https://br.wordpress.org/plugins/localhost2host-docker-internal/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/localhost2host-docker-internal/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/localhost2host-docker-internal/#developers)

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

## Descrição

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.

## Instalação

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

## Avaliações

![](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 julho, 
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!

 [ Leia a 0 avaliação ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/)

## Colaboradores e desenvolvedores

“localhost2host.docker.internal” é um programa de código aberto. As seguintes pessoas
contribuíram para este plugin.

Colaboradores

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

[Traduzir o “localhost2host.docker.internal” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/localhost2host-docker-internal)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/localhost2host-docker-internal/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/localhost2host-docker-internal/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/localhost2host-docker-internal/)
por [RSS](https://plugins.trac.wordpress.org/log/localhost2host-docker-internal/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versão **0.4.0**
 *  Última atualização **2 anos atrás**
 *  Instalações ativas **Menos de 10**
 *  Versão do WordPress ** 6.3 ou superior **
 *  Testado até **6.5.10**
 *  Versão do PHP ** 8.1 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/localhost2host-docker-internal/)
 * Tags
 * [localhost](https://br.wordpress.org/plugins/tags/localhost/)[site health](https://br.wordpress.org/plugins/tags/site-health/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/localhost2host-docker-internal/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  1 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/localhost2host-docker-internal/)