I have an EC2 Instance with Ubuntu.
I used sudo ufw enable and after only allow the mongodb port
sudo ufw allow 27017
When th
Note: Newer Linux kernels may rename your devices to /dev/xvdf through /dev/xvdp internally, even when the device name entered is /dev/sdf through /dev/sdp.
cd ~ mkdir lnx1 sudo mount /dev/xvdf ./lnx1
cd lnx1 sudo vim ufw.conf
Now find ENABLED=yes and change it to ENABLED=no.
Be sure to unmount the volume first:
sudo umount ./lnx1/
Hola !! you are good go.