Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

System Socket Error When Trying To Use The Web Server In The Internet Toolkit?

Primary Software: LabWindows/CVI Add-ons>>Enterprise Connectivity Toolset
Primary Software Version: 1.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: Why do I get system socket error (-5) when I try to use the web server in the Internet toolkit?

Solution: This error can be the result of a number of issues, but one of the more common reasons for this error is the result of a port conflict.

For example, this error may occur if you are running another web server application such as Microsoft Frontpage.
Web servers use TCP/IP port 80 by default, and a TCP/IP port can only be used by one application at a time.

The solution is to go into the CVI program and change the port number in INET_StartWebServer to some other integer value. (e.g 9999)
Alternatively, you can also disable any other web server applications that are running on the PC.

Related Links:

Attachments:





Report Date: 04/21/1998
Last Updated: 12/06/2004
Document ID: 18K73HL1

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit