test port binding