Home > Software engineering >  Nuxt, localhost refused to connect, strapi application works
Nuxt, localhost refused to connect, strapi application works

Time:12-07

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

CodePudding user response:

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

  • Related