...
Once you have created and deployed your virtual machine, if you want to be able to connect to the web application from outside networks, you must add an inbound connection rule. To do this, simply;
Open the resource page for the virtual machine and select the Networking ‘Networking’ setting from the left-hand navigation bar.
Select the ‘Inbound port rules’ tab and click ‘Add inbound port rule'.
The default fields should be for the port 8080
Enter the required fields according the desired security and connection allowances. Click ‘Add’ to finish and after ~1m you should be able to connect to the web application, assuming that you have started application.
Post-creation of the virtual machine
Connecting to the Virtual Machine
On the overview page you will be able to view the IP-Address, copy this and open your command line. Type ‘ssh TESTaide@<IP-Address>’ (without the <> or ' ').As the example:note down the IP-address and then open the command line, such as PowerShell on Windows or Linux Shell/Terminal. Type the command as shown below, changing the IP-address to what your virtual machine has.
#Following the format, ssh <user>@<IP-Address>
ssh TESTaide@24.654.24.75
...
After having connected to the virtual machine, with your command line type the command:
./home/TESTaide/testaide-v3.0.0/bin/start-testaide.sh
This will start your application on port 8080, which you opened and allow allowed for inbound connections to in the above process.
정보note |
---|
One On the first start and initialization of the TESTaide application, it is highly recommended to restart the virtual machine to make sure that all database and Infrastructure Agent connections are properly made as intended. Simply restart the machine in the Azure portal & run the start command when the virtual machine has restarted to continue using the TESTaide application. |
View the execution log
To view the execution log of the application, type the command:
tail -f . /home/TESTaide/testaide-v3.0.0/log/launcher.log
This will allow you to continuously view the incoming log messages sent to by the TESTaide application. To exit the log, press [CTRL+Z] on your keyboard
Stopping the TESTaide application
After having started the TESTaide application, to stop application, type the command:
./home/TESTaide/testaide-v3.0.0/bin/stop-testaide.sh -p=8080
...