Enabled listening state

Enabled listening state for accepting incoming connections.