How to access Jenkins remotely on Ubuntu 12.04 server?

I ran into this issue which was resolved by editing jenkins config file

sudo vim /etc/default/jenkins

edit HTTP_HOST, default 127.0.0.1 to

HTTP_HOST=0.0.0.0