Adams Basic Package > Adams Explore > Starting the Web Server

Starting the Web Server

The job server can be started from inside Adams or via the mdi script in a command/terminal window
In a terminal window on Linux
mdi -c aexplore ru-webserver
In a command window on windows
mdi aexplore ru-webserver
The server can also be started from inside Adams on all platforms using the command:
aexplore server webserver start
And in Adams Car through the menu option Tools Explore Server Start Webserver.
Sometimes the default port is used by other servers and the following message is may be received in the terminal window of the web server:
IOError: Port 8080 not free on '0.0.0.0'
How to start the web server using another port
In a terminal window on Linux
mdi -c aexplore ru-webserver 8080
In a terminal window on windows
mdi aexplore ru-webserver 8080
From inside Adams with command navigator on all platforms:
aexplore server webserver start port=8080
When starting the web server a terminal window should appear showing something similar to:
Note that the text ENGINE Serving on http://0.0.0.0:8080 means that the server is serving on port 8080 through all IP addresses of the machine.
 
Important:  
The web server and the job server must be running in the same directory. The directory is passed to the servers through the environment variable AEXPLORE_DATA_DIR.