The problem is still here.
I changed the default port in the /etc/default/jenkins file to 8090 and restarted my machine however Jenkins is still looking for 8080.
How to resolve this?
UPDATE: found a solution. I modified the port in this file /usr/lib/systemd/system/jenkins.service and it worked.