display real listening host and port
Merge pull request #3 from chenfengyuan/port

Display the real listening host and port
fix rules is not cleared before reloading bug
write protection