Check out the related Code Repository Files or visit the LabVIEW Wiki Internet Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Sep 12 2008, 08:09 PM
Post
#1
|
|
![]() Very Active Premium Member ![]() Posts: 90 Joined: 12-November 04 From: Gatineau, Quebec, Canada Member No.: 1022 Using LabVIEW Since:2001 LV:8.6 ,8.5.1 ,.
|
Howdy Folks,
Just thought I'd share this little experience that cost me a few hours today. 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 LabVIEW 8.5.1 and 8.6 Interestingly enough I was able to start skype after the LabVIEW WebServer was up and running. And I could thereafter shutdown and restart the LabVIEW WebServer without problems. However, if LabVIEW 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 So if you are having problems starting the LabVIEW web server, check your skype settings. Cheers, Heiko |
|
|
|
| Ad |
Sep 12 2008, 08:09 PM
Post
#
|
||
|
|
|
||
|
|
|||
Sep 15 2008, 02:35 PM
Post
#2
|
|||
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3751 Joined: 13-October 03 From: Michigan, USA Member No.: 181 Using LabVIEW Since:1993 LV:8.5 ,. ,.
My Blog
|
I'm not sure if it was your intent, but your post kind-of sounds like you think that Skype using port 80 is a bad thing? I'm not sure it is. It's a chicken and egg problem: if you use Skype first then try to use something else that wants that port then it can be seen as a Skype problem...
-------------------- ![]()
|
||
|
|
|||
Sep 15 2008, 03:26 PM
Post
#3
|
|||
|
Certified Kool-Aid Kid Premium Member ![]() Posts: 1156 Joined: 6-December 02 From: Pittsburgh PA USA Member No.: 29 Using LabVIEW Since:1998 LV:7.1 ,. ,.
|
...So if you are having problems starting the LabVIEW web server, ... Cheers, Heiko Thank you Heiko! I learned a trick or three in that report! Ben
|
||
|
|
|||
Sep 15 2008, 06:38 PM
Post
#4
|
|||
![]() Very Active Premium Member ![]() Posts: 90 Joined: 12-November 04 From: Gatineau, Quebec, Canada Member No.: 1022 Using LabVIEW Since:2001 LV:8.6 ,8.5.1 ,.
|
I'm not sure if it was your intent, but your post kind-of sounds like you think that Skype using port 80 is a bad thing? I'm not sure it is. It's a chicken and egg problem: if you use Skype first then try to use something else that wants that port then it can be seen as a Skype problem... I completely agree that this is more of a Skype problem than a LabVIEW problem. I just wanted to point out that this default Skype behaviour can lead to problems with LabVIEW and that it can be turned off.
|
||
|
|
|||
Sep 15 2008, 06:50 PM
Post
#5
|
|||
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3751 Joined: 13-October 03 From: Michigan, USA Member No.: 181 Using LabVIEW Since:1993 LV:8.5 ,. ,.
My Blog
|
I completely agree that this is more of a Skype problem than a LabVIEW problem. That's not what I'm saying at all - I'm saying that it's a problem between the two, not necessarily due to one or the other. -------------------- ![]()
|
||
|
|
|||
Sep 16 2008, 12:46 AM
Post
#6
|
|||
![]() Active Member Posts: 19 Joined: 15-May 07 From: Colorado Member No.: 8534 Using LabVIEW Since:1989 LV:7.1.1 ,8.0.1 ,7.0
|
|
||
|
|
|||
![]() ![]() |
| Time is now: 2nd December 2008 - 12:39 AM |