Test Netbeans connection