You need to tell us which version of Alfresco, which version of cmislib, and which Alfresco Service URL you are using to connect. I suspect you are using the wrong service URL for your specific Alfresco version given that error. Also, if your Alfresco server is off you won't be able to connect.