Public getconnection