LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically get IP address and port that LV Web Service is using

Is there a way to obtain, from within my web service (like in the startup VI), what IP address and port it is running on? I know I can use "String To IP" and "IP To String", but sometimes I might have a computer that is connected to multiple networks so it has more than one IP address, and I need to know which IP address commands to the web service are sent to. Same with the port - this might change based on whether it is running in run-time or development environment and what settings the user has for their development environment, and I'd like to be able to just know from within the service what port it is on.

0 Kudos
Message 1 of 1
(233 Views)