I have a client that is connecting to a SignalR hub and I need to know its IP address so…
- User
I have a client that is connecting to a SignalR hub and I need to know its IP address so that I can configure a firewall. Is there some logging that would show up on AppInsights that I can use to see the IP address?
Assistant
Yes, you can find client IP addresses for SignalR connections in Application Insights. Look for request logs with SignalR operations, which typically include the client IP address information.
Try this Kusto query in the Application Insights logs section:
coderequests | where operation_Name contains "SignalR" | project timestamp, client_IP, operation_Name, customDimensionsYou might also find relevant information in the
dependenciestable if your implementation uses the Azure SignalR Service. For more detailed connection events, check logs with EventName like "ConnectionEstablished" in the customDimensions.Would you like me to help you customize this query further for your specific setup?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.