Question

My site shows a blank screen and i get GET https://ip-address/css/app.css net::ERR_CONNECTION_REFUSED

I was able to deploy my laravel app on ubuntu using nginx following this tutorial [https://www.techalyst.com/posts/laravel-hosting-with-digital-ocean-droplet-step-by-step-tutorial]. However, i get a blank screen and this error messages on the chrome console.

GET https://147.182.184.11/css/app.css net::ERR_CONNECTION_REFUSED

GET https://147.182.184.11/js/app.js net::ERR_CONNECTION_REFUSED

GET https://147.182.184.11/images/assets/relicon.png net::ERR_CONNECTION_REFUSED

I have not installed an SSL certficate on the account, neither have i added a domain name. Kindly guide on how to resolve this.


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
July 5, 2022

Hi @d02e0b7b59c2-429c-b46f-cbb782,

It seems to me like you’ve redirected Laravel to use https or maybe it’s your browser. In your .env config file you should be able to set it to HTTP.

Alternatively, you should be able to just open port 443 and create a config for your server and have it load, you don’t need an SSL to do that.