Assume the web service in the development environment is running on docker
In /etc/hosts
127.0.0.1 test.local
Write
on chrome.
http://test.local:3000
DNS error occurs even if I try to insert it into the display.
Trend Micro Web Security as a Service
DNS Error
503 Service Not Available
Event Details:
test.local server name resolution failed
http://localhost:3000
Then the web app page running on docker will be displayed
Can't /etc/hosts settings be involved in DNS name resolution on the browser?
Is there any way to use web APIs with referrals restrictions in a development environment?
The operating system is MacOS
Note:
When I saw the error, I noticed that there was a security proxy in it.
Is this the problem?
Even so, I think that resolution of etc/hosts takes precedence over proxy settings.
Try disconnecting wifi and accessing the browser
I could still access it with localhost, but
Test.local results in connection error
You are not connected to the Internet
Please try the following:
Check Network Cables, Modems, and Routers
Reconnect to Wi-Fi
ERR_INTERNET_DISCONNECTED
I don't know why, but if you access it now,
http://test.local:3000
You can now access it normally in the
What I couldn't do was
/etc/hosts Edit and Restart OS
Chrome Cache Delete Hard Load
Change around 13:00 /etc/hosts
I edited the question and it didn't work yet around 14:13, but
After that, I left the same tab unattended (before 17:00) and reloaded again to connect.
I understand that DNS cache takes a certain amount of time if you are going through DNS, but
In the case of /etc/hosts, I thought there would be no cache, but I wonder if there is any
The cause is a mystery, but it has been solved, so I will close it
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
581 PHP ssh2_scp_send fails to send files as intended
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
911 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.