Hello, I pretty sure that the port is not refreshed when you quit application by pressing Back. The next time when you re-open the application, the mPort value in AppController is not changed, that will cause some Socket problems further ....