Jump to content
  • 0

How to search my network for my WebDAQ IP address


Jeffrey

Question

FOR /L %variable IN (start,step,end) DO command [command-parameters]

 

This is an iterative loop that runs through sequence of numbers. The set (start,step,end) is a sequence of numbers from start to end, by step amount. So (1,1,254) would generate the sequence 1 2 3 4 5 up to 254.

The nslookup command can search IP addresses and return their names.

In the Windows 10 search box, type CMD followed by <ENTER>

To find your computer's IP address, at the C prompt type "ipconfig". 

For example:

C:\Users\myName>ipconfig <ENTER>

Your computer's IPv4 maybe something like 192.168.0.1. 

Next, at the command prompt, enter the following command: 

C:\Users\myName>For /L %N in (1,1,254) do @nslookup 192.168.0.%N >> names.txt

It will search IPs from 192.168.1.1 to 192.168.1.254. IPs addresses that are found will be sent to names.txt. Open this file with NotePad and search for webdaq to find its IP address. Enter the IP address in your browser's address bar to launch the WebDAQ server. 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...