You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [this
comment](#435 (comment)).
## What?
This PR changes the URL that `wp-now` listens on from `127.0.0.1` to
localhost.
## Why?
When I run `wp-now start` in WSL (a Windows virtual environment), it
listens on `127.0.0.1` (ipv4 address).
However, when I access the URL on the host OS, it resolves `to::1` (ipv6
address), so I believe this is why the server is unreachable.
## Testing Instructions
- run `nx preview wp-now start`
- Confirm that the console displays the expected logs: `Server running
at http://localhost:8881/`
- Confirm that the WordPress site is displayed when accessing
`http://localhost:8881/`.
- Conform that WordPress Address and Site Address settings are
`http://localhost:8881/`.
- Confirm that all resources such as CSS and JS are also loaded at this
URL and that no errors are output to the console.
0 commit comments