C3Fire

Server Configuration Windows

From C3LearningLabs

Template:MenuHeadC3Fire Template:C3fire/Config/Install/Windows/Install Menu Template:TOCright

Configure Server

Before you configure the C3Fire server do the Test C3Fire server so that you know that the first installation step did work.

The configuration you need to do is only to set the IP number that your server computer have.

The Server configuration is defined in <C3FIRE-Server>\C3FireServerConfig.xml

Example : C:\C3LearningLabs\C3Fire\Server\C3FireServerConfig.xml

 <Connection
  IPNr = "127.0.0.1"
  Port = "8382" 
  ... />

Example set the IP number to IPNr = "192.168.1.2"

Server on internet (WAN)

If the C3Fire server should be accessed from internet (WAN), you need configure the Internet router to
port-forward, port 8382 and port 8380 to the C3Fire Server.


Find the server computer's IP number

Start the command prompt by writing command prompt in the windows search tool.

C3fire-config-install-windows-search.png

In the command promp start the program ipconfig. It will give you the server computer ip numper in the field IPv4 Address.

IP Number

Example, 192.168.1.1




Test C3Fire Server

The C3Fire server can be started with the program C3FireServer-Start-Windows.exe or script file C3FireServer-Start-Windows.bat in the server folder.

Example : C:\C3LearningLabs\C3Fire\Server\C3FireServer-Start-Windows.exe.
Example : C:\C3LearningLabs\C3Fire\Server\C3FireServer-Start-Windows.bat.

The C3Fire server can also be stared with the shortcut "C3Fire Server" on your desktop.



After some startup processes the C3Fire server should write 'C3Fire Server Running'.

C3Fire Server



When the server start if write a process listing on what is happening during the start.
In this listing the server should write the IP number and the Port number used by the server.
Early in the process it will write the IP number configuration for the servar and the http server.
Later in the process it will write the IP number when it is created.

Example:

StartServer


If the server did start you should test the web server.

If the C3Fire server does not start go to Troubleshooting C3Fire Server.


Test Web Server

When the C3Fire server is started, a preconfigurated Jetty web server also, automatically, started.
The Jetty web server uses the port 8380.

Test the web server by surfing to the server computer with a web browser.

Surf to server computers ip number and use port 8083
Example local host http://192.168.1.1:8380/


The browser should show the following page.

Web page

If the Jetty web server does not start go to Troubleshooting Jetty Server.


Test C3Fire Client

Start C3Fire client on the server computer. This is done by starting the program

...\C3LearningLabs\C3Fire\Client\Application\C3FireClient-Start-Windows.exe

or script file

...\C3LearningLabs\C3Fire\Client\Application\C3FireClient-Start-Windows.bat


Example : C:\C3LearningLabs\C3Fire\Client\Application\C3FireClient-Start-Windows.exe.
Example : C:\C3LearningLabs\C3Fire\Client\Application\C3FireClient-Start-Windows.bat

It is also possible to start a client by activating shortcut "C3Fire Client" on your desktop.

More information about starting a client can be found in Start System documentation.


After some startup processes the C3Fire client should open the following window.

C3Fire Server

If the C3Fire client does not start go to Troubleshooting C3Fire.


Template:C3fire/Config/Install/Windows/Install Menu