How to remotely access JBOSS/Bonita (from outside the server)?

Hi folks,
I just found out, how this works, and would like to share this answer.
My problem was, that I couldn't access Bonita from outside the server, where it was installed.

How to change the host address from localhost to

Hello everybody I'm Ami

I'm sorry, I'm a newbie in server thingy... Btw, I'm using Bonita BPM 6.2.1 I want to ask if I can move the bonita portal from localhost to, because localhost is already used by many things and it's hard for me to exclusively monitor bonita portal's performance. I've already tried Preferences > Server Settings... but it doesn't work. It still use localhost:8080/bonita

Thank you... :3