3

I have an Azure web app that has some Hybrid Connections setup. I'd like to be able to prove they are working from the KuDu cmd interface.

Unfortunately telnet is not installed as part of the Azure WebApp OS (Win Server 2012) and I seem to have limited permissions.

Can anyone help?

Specifically I want to make sure I can relay to an email server, so telnetting to the port would be very useful.

Kind regards Si

Simon
  • 578
  • 1
  • 9
  • 18

1 Answers1

7

Can you try tcpping instead? tcpping is installed and available for use from the Kudu console.

Stefan
  • 166
  • 2
  • Hi, Yes that worked thank you. It does tell me there is an issue, I get the following. **Connection attempt failed: An attempt was made to access a socket in a way forbidden by its access permissions 192.168.60.20:25** I am wondering if using this IP address for a hybrid connection is this issue. – Simon Nov 03 '15 at 16:45
  • PS Thanks so much for posting an alternative. – Simon Nov 03 '15 at 16:46
  • 1
    You will need to use a hostname rather than an IP address - IP addresses in Hybrid Connections are not quite reliable and depend on how the underlying framework is implemented. As for tcpping, it may not work as a proof of concept - there's a local port on the Web App that does the relay, and tcpping will only test connectivity to this port. Hybrid Connections is an application level relay, so only data is really getting transmitted through the pipe (no syn/acks, etc.). We are working on better debugging tools for Hybrid Connections. – Aleks B Nov 04 '15 at 20:07
  • That's great insight thank you. We're going to try the host name instead of an IP address. I look forward to better debugging tools, sounds great. – Simon Nov 05 '15 at 12:59
  • changing to the host name worked great, all working now! – Simon Nov 18 '15 at 13:30