phpstorm configuration: Click "settings->Build, Execution, Deployment->Deployment" of phpstorm in turn
Click New and customize the name.
Related recommendations: "PhpStorm Usage Tutorial"
In the Connection tab,
Set type to: Local or mounted folder;
Change Folder to "your www directory".
In the Mappings tab,
Change the Web server root URl to: http://localhost or http://127.0.0.1.
The above is the detailed content of What to do if an incorrect gateway occurs in PHPStorm 2019. For more information, please follow other related articles on the PHP Chinese website!