c# - Ping client LAN from Azure -
Using some code from the CodeProject, I changed a LAN scanner to ASP.NET web application. The app tries to ping all the IPs in a given user input range. The app works fine at the local level However, I wanted to make online app online. Using free AZUR subscription, I keep the site online. However, it does not scan the user's LAN. This could be because the server is trying to scan the LAN of the computer on which my app is deployed. I would like to know that it is possible to scan the client's LAN instead of server LAN, using ASP.NET. If you need a code for a webpage, please comment on the website should be online. Please comment if any other information is necessary.
No, it is not possible to use a server-based scanner, because the server There is no way to access the private IP address used by the network. You can do this only from within a network, which means the client-side code is in some way.
The problem is that your local network address (192.168. . , 10. . . *, Etc.) is not available from the other side of your router Are there. When you connect to a remote server, your router translates some address to do so as if it is sending the request. If you have lots of computers in the same LAN connecting to the same server, then it looks like a lot of connections from one place.
If you want to create an Internet server application then you should know how the basics of how the internet works, and it is one of the important people. You do not know how the circumstances are at packet level (though It's also interesting), but some understanding of things like network address translation is necessary.
Comments
Post a Comment