Unable to connect to Atlas DB by Website hosted on Godaddy

Hi all,
I have hosted a website on GoDaddy shared hosting developed in NodeJs.
The connection string is
mongoose.connect(‘mongodb+srv://USER:PWD@cluster0-fddt1.azure.mongodb.net/school?retryWrites=true&w=majority’,{
useNewUrlParser: true
//, useUnifiedTopology: true
})

.then(()=>console.log(‘Connection successful’))
.catch((err)=>console.error );

The Same project with the same connection string works fine with Localhost on local pc.
But fails to connect on the GODADDY.

There is no error in Godaddy terminal,
Even the ‘Connection successful’ message is not printed in Godaddy console.

Getting 404 Error in the webpage.

Could be whitelist issues
Is your godaddy IP allowed to access Atlas?

Please check other threads in stackoverflow
They discuss about route path issue