port -1, still crash
port 0, error is -1