My work is developing software for network capable cameras for retail enviroments. One of the peices of software my team is developing is a webserver that retrieves various
My guess is that your iteration logic to determine the different ip address is based upon different configuration hence your pc's fetches all addresses but your webserver doesn't.
Try adding debug in the logic where you build up the list of ip adresses to check.