Internet Connection Troubleshoot / Testing

Is there any way I can test if my TD is connected to internet? Whether it could receive or send data through internet, I’m trying to use websocket but it seems like there is no connection between TD and my webservice and even other APIs. there is no problem in my API when I tried it on websocketking. I’m afraid that it is because of firewall or DNS or some setting what I dont know of. That is why I want to try see if my TD establishes connection with the internet.

Cheers!!!