your Ipv4 Address is: 3.148.144.139
your Ipv6 Address not detected
You can use a third party API, such as Ipify, to get the IP address of the current request in Blazor. The script api.ipify will return the IP address in JSON format. But this is a workaround. As of now, there is no way to achieve this. In the following code snippet, the IP address will be retrieved from the Ipify API through a JS interop call to the Blazor server.
In this article, you will learn How to Get Real Visitor IP Address (Restoring Visitor IPs) with Nginx and CloudFlare.
In this article, you will learn how to check if a given IP address is IPv4 or IPv6 in C#.
In this article, we are going to fetch user public IP Addresses In ASP.NET Core Web API application. How to Get User IP Address In ASP.NET Core Web API
In this article, you will learn how to get the IPv6 IP Address of the local computer in C#.
how to build ipv6 web step by step