#ping from app service

1 messages · Page 1 of 1 (latest)

potent vault
#

Hello. I'm trying to test connectivity from my Linux app service to a VM in the same virtual network. I saw that you can use tcpping <host or IP>:<port number>, I tested that command, but it is not working on my app service. I tested the same command on another windows app service and it works on that one, so my questions are, am I entering the command incorrectly? Is it different in Linux? Is there any other way to test connectivity from my app service to a VM?

Btw my app service is using a private endpoint connected to the same vnet that my VM is.

wet plover
#

Do you have vnet integration configured for your app service/plan

#

Private Endpoints for an app service plan are only used for inbound connections, if you want your app service to talk to other endpoints on your vnet, you need to configure virtual network integration, which requires designating a subnet to your app service plan to use for it

potent vault
#

Hello @wet plover thanks for the suggestion. I will be testing that. Do you know about the tcpping on Linux? Does it work the same as in windows ASP?

wet plover
#

I'm not sure where you're running the command from, but if you're SSHed in, the bash command for ping is just 'ping 1.1.1.1'.

If you can ping VM->App but not App->VM then it confirms you need to set up your vNet Integration

potent vault
#

I'm running the command on the ssh kudu console of the app service. I will try that command as well.

Understood. Thanks