When I try to access my Mac locally, I get the following error:
http://localhost
http://172.0.0.1
The following error occurs:
curl:(7) Failed to connect to localhost port 80: Connection refused
By the way, I have deleted all the files and settings around docker.
Also, I checked with the following command and found that it was normal.
dig localhost+short
#172.0.0.1
I wonder if the configuration file has changed.I don't know what to fix, so please let me know.
Thank you for your cooperation.
macos
If you want to access something over the network, including localhost
, you must be running a program (so-called server) that responds on the destination side.
The "localhost port 80" in the error is trying to access via HTTP, so the web server must be up on the mac beforehand, and if the web server is not running, then "no response" is a normal result.
709 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
537 Uncaught (inpromise) Error on Electron: An object could not be cloned
547 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.