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

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# localhost2host.docker.internal

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

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

 * [Detaljer](https://da.wordpress.org/plugins/localhost2host-docker-internal/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/localhost2host-docker-internal/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/localhost2host-docker-internal/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/localhost2host-docker-internal/#developers)

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

## Beskrivelse

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.

## Installation

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

## Anmeldelser

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

 [ Læs alle 0 anmeldelser ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/)

## Bidragsydere & udviklere

“localhost2host.docker.internal” er open source-software. Følgende personer har 
bidraget til dette plugin.

Bidragsydere

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

[Oversæt “localhost2host.docker.internal” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/localhost2host-docker-internal)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/localhost2host-docker-internal/),
tjek [SVN repository](https://plugins.svn.wordpress.org/localhost2host-docker-internal/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/localhost2host-docker-internal/)
via [RSS](https://plugins.trac.wordpress.org/log/localhost2host-docker-internal/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.4.0**
 *  Senest opdateret **2 år siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 6.3 eller højere **
 *  Testet op til **6.5.11**
 *  PHP-version ** 8.1 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/localhost2host-docker-internal/)
 * Tags
 * [localhost](https://da.wordpress.org/plugins/tags/localhost/)[site health](https://da.wordpress.org/plugins/tags/site-health/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/localhost2host-docker-internal/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/?filter=1)

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/localhost2host-docker-internal/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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