adrianhajdin / project_tiktik

https://jsmastery.pro
599 stars 182 forks source link

Error: connect ECONNREFUSED 127.0.0.1:80 #5

Open SANKARAMDAS opened 2 years ago

SANKARAMDAS commented 2 years ago

Getting this type of error on web page- Server Error Error: connect ECONNREFUSED 127.0.0.1:80

This error happened while generating the page. Any console logs will be displayed in the terminal window. Call Stack

error: connect ECONNREFUSED 127.0.0.1 (80) (Error: connect ECONNREFUSED 127.0.0.1 (80) TCPConnectWrap.afterConnect [as oncomplete] node:net (1161:16) And on console- ![2022-07-17 (6)](https://user-images.githubusercontent.com/31897843/179389237-f51c37ea-0f40-4708-8afa-929f87ce790e.png) ![2022-07-17 (7)](https://user-images.githubusercontent.com/31897843/179389279-cd2e171f-5df8-42a2-94be-65b1aafc3966.png)
KrevetkaOo commented 2 years ago

add in the .env file -> NEXT_PUBLIC_BASE_URL=http://localhost:3000