Starting or Stopping the Web Server Software

<< Click to Display Table of Contents >>

Navigation:   Utilities Menu >  Server Setups >

Starting or Stopping the Web Server Software

 

To establish the web server software as a service on your host computer

There are two ways to establish and start the web server software on your host computer. The first way is to use the CMD2015WebServerStart.bat file that's located in your C:\CMD-SFM\Servers folder.

To use this batch file, open Windows Explorer, navigate to the C:\CMD-SFM\Servers folder, and right-click on the CMD2015WebServerStart.bat file. When the menu pops up, select Run as Administrator. When it first installs the web server, you should get a message dialog telling you it was successful. Click OK to get past that dialog, and then the batch file will start up the web server as a service (which means it will always run in the background, even if no one is logged in).

If you don't wish to run the batch file, then you can establish and start it manually by following these steps:

Click the Windows Start button, select All Programs, scroll to find Accessories and click on it.

From the list of Accessories, find and right-click on Command Prompt, and select Run as Administrator.

Once at the command prompt, type:

 cd c:\cmd-sfm\servers (followed by Enter). This should move you to the c:\cmd-sfm\servers folder. Now, type:

 cmdwebserver.exe /install /nointeract (followed by Enter).

After a few moments, should should see a message telling you that it was successfully installed. Now type:

 net start cmdwebserver (followed by Enter).

In a few moments you should see a message in the Command Prompt box telling you that the service was started.

Finish by clicking out of the Command Prompt box, or by typing Exit followed by Return. The web server is now installed and running in the background of the host computer.

 

To stop the web server software

To stop the web server service, go to the Command Prompt as an administrator (as outlined above), and type:

 net stop cmdwebserver (followed by Enter)

Note that this will stop the web server from functioning, but it remains installed as a Windows service.

 

To start the web server software

To start the web server service once it's been installed, go to the Command Prompt as an administrator (as outlined above), and type:

 net start cmdwebserver (followed by Enter)