fix listen 2 port at the same time, the first server can not reload

fix listen 2 port at the same time, the first server can not reload on
browser.