Make it able to assign static port number
Merge pull request #945 from mfalesni/able-static-event-port

Make it able to assign static port number for event listener