When I run `query.js` (similar to `query.js` in `fabcar` but modified for my application), I keep getting an error which says, 

> 
> Failed to connect before the deadline
> 
> 
> 

I have changed the localhost to docker IP address in `enrollAdmin.js` and `registerUser.js`

TLS is enabled for peer, orderer and cli.

Any help would be appreciated. Thanks

![enter image description here](https://i.stack.imgur.com/GvClF.jpg)