Jakub Magáč
Jakub Magáč

Reputation: 41

Nuxt, localhost refused to connect, strapi application works

emphasized textI have trouble to connect to localhost. I am trying to run Nuxt aplication on port 3000.

sudo lsof -i -P -n | grep LISTEN command says that my port is listening.

My other strapi application works on port 1337. I tried to change port of Nuxt application but didn't work out. I have tried different browsers and remove cache. Application worked yesterday and I am not aware that I have changed something. I am using Ubuntu 20.04.2 LTS

Upvotes: 2

Views: 577

Answers (1)

Jakub Magáč
Jakub Magáč

Reputation: 41

Update: Solved. Colleague added serverMiddleware: ['redirect-ssl'] packege to project that caused problems on localhost.

Upvotes: 1

Related Questions