testcase connects to port 12345