hfettig Posted September 13, 2008 Report Share Posted September 13, 2008 Howdy Folks, Just thought I'd share this little experience that cost me a few hours today. :headbang: I wanted to try out the new web services in LabVIEW 8.6. So I started by turning on the LabVIEW web server. When I tried out my first deployed web service I just got a blank page in Firefox. Interestingly enough in Internet Explorer I got a file not found error. So after some searching I found the error.log file for the web server here: C:\Program Files\National Instruments\LabVIEW 8.6\resource\webserver\logs\error.log In here I found out that LabVIEW was unable to create a connection on port 80 and therefore could not start the service. Good to know but why did this take this long to find out? Why is there no status LED on the Web Server panel in the Options dialog? Next I tried to start the web server in LabVIEW 8.5.1. I thought that maybe there was a problem with the 8.6 web server (which is new) and VISTA. However, the 8.5.1 web server was unable to start as well, but at least I got a pop-up that told me this. As a work-around I was able to turn on the web server in 8.6 on port 8080 with no problems. Now the hard part was to find who was hogging port 80. After googling through a gazillion pages I found that in VISTA you can use the command NETSTAT -a -b -o -p TCP to find all active processes using TCP ports. And voila: Skype.exe was listed as listening on port 80. After exiting skype LabVIEW WebServer started without problems on port 80 in both LV 8.5.1 and 8.6 Interestingly enough I was able to start skype after the LV WebServer was up and running. And I could thereafter shutdown and restart the LV WebServer without problems. However, if LV WebServer is not running and I restart Skype, then I run into the same problem all over again. Now I found a setting in Skype under Options -> Advanced -> Connection called 'Use port 80 and 443 as alternatives for incoming connections'. After unchecking this Skype does not seem to block port 80 anymore. And I still seem to be able to receive calls (Thanks to Jim :thumbup: the test caller). This way I seem to be able to run Skype and LV WebServer at the same time. So if you are having problems starting the LV web server, check your skype settings. Cheers, Heiko Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.