WOW! That’s awesome!
I got it and it works.
* I check the network connection on docker
curl localhost:8081/wordpress/
and it returns ‘curl: (7) Failed to connect to localhost port 8081: Connection refused’. So I change localhost
to my real ip
and get HTML successfully. Then I change the wordpress and site address to my real ip, reset the plugin, and the post successfully synchronize from docker site to local site.
* I think change localhost
to host.docker.internal
also works, I’ll check later.
Thank you so much and have a good day!