Solution For Connection Status: Offline

Open Qbittorrent

Go to Tools > Options (Alt + Q) > Connection

Then Hit the "Random" button in front of "Port used for incoming connections".

Give it some seconds and the status should go back to normal i.e. Connection Status: Online.

This issue happens with me once in a while and this might be the easiest solution.