How to handle the inability to log in to the Pagoda Service Panel console through a browser on an ECS instance?

Problem Description


The Pagoda service panel console is deployed in the ECS instance, but the Pagoda service panel console cannot be accessed by entering the public network IP: port of the ECS instance through the browser, as shown in the figure: Cannot access the Pagoda panel problem phenomenon

Problem Causes


This problem may occur due to the following reasons:

• Pagoda panel service did not start normally.

• There is no rule for adding the port corresponding to the pagoda service in the security group.

Solution


Open the pagoda panel service

1. Remotely connect to the ECS instance.

2. Check whether the pagoda service is running.

Linux instance:

Execute the following command to check whether the pagoda service is running.

/etc/init.d/bt status

• If the pagoda service status is running, the response is as follows, indicating that the pagoda service is running. You need to perform the next step to check the running port of the pagoda service.

• If the pagoda service status is not running, the display is as follows, which means that the pagoda service is not running. At this point, you need to perform the following operations to start the pagoda service.

1. Execute the following command to start the pagoda service.

/etc/init.d/bt start

2. Execute the following command to check the running status of Pagoda service.

/etc/init.d/bt status

If the pagoda service status is running, and the display is as follows, it means that the pagoda service has been started successfully. You need to perform the next step to check the running port of the pagoda service. 20230207112431

If the pagoda service status is still not running, you need to check the log error information during the pagoda service startup process to judge and troubleshoot the problem.

Windows instance:

i: Choose any of the following methods to open the pagoda panel.

Method 1: Double-click the pagoda shortcut icon on the desktop of the Windows operating system.

Method 2: In the lower left corner of the desktop of the Windows operating system, select the start icon > pagoda panel.

ii: View the running information of the Pagoda service on the Pagoda Windows panel toolbox page.

You can view and record information about the Pagoda panel, such as the port used by the Pagoda service, security entry, etc., as shown in the figure below. Pagoda Panel Toolbox

iii: Choose any of the following methods to check whether you can use localhost to log in to the pagoda panel.

• On the Pagoda Windows Panel Toolbox page, click Open Panel.

• Open a browser and enter localhost:[Security Portal], then press Enter to access the Pagoda panel.

: It is the port of the Pagoda Windows panel toolbox page, taking 8888 as an example.

[Security entrance]: If the security entrance is enabled on the pagoda panel, the access address of the browser must be added to the [Security entrance] address, otherwise a "404" error will be prompted when accessing the pagoda panel. The value of this parameter is the security entry of the pagoda Windows panel toolbox page, taking /ttpRV8nM as an example.

As shown in the figure, use the browser to access localhost:8888/ttpRV8nM successfully, that is, successfully use localhost to log in to the pagoda panel. At this point, you need to perform the next step to check the running port of the pagoda service. Successfully accessed the Pagoda panel

Note If you still cannot access the Pagoda panel, you can click Check Occupancy on the Toolbox page of the Pagoda Windows panel to obtain the usage of the port, or click Restart Panel to access the Pagoda panel again.

3. Check the running port of Pagoda service.

Linux instance:

• Execute the following command to view the current port of the pagoda panel.

cat /www/server/panel/data/port.pl

• Execute the following command to view the port corresponding to the Bt-Panel service by viewing the pid corresponding to the pagoda service.

/etc/init.d/bt status
netstat -tnlp |grep 32514 #32514 is the pid corresponding to the Bt-Panel service returned by the first command

The display is as follows, port 31248 is the port currently used by the pagoda service.

Windows instance:

i: Choose any of the following methods to open the pagoda panel.

Method 1: Double-click the pagoda shortcut icon on the desktop of the Windows operating system.

Method 2: In the lower left corner of the desktop of the Windows operating system, select the start icon > pagoda panel.

ii: On the Pagoda Windows panel toolbox page, check the running port of the Pagoda service.

4. Re-enter the ECS instance public network IP:port in the browser to access the Pagoda service panel console.

• Successful access, the problem is solved.

• Still unable to access, please continue to add the rule of adding the port corresponding to the pagoda service in the security group to check.

Add a rule for the corresponding port of the pagoda service in the security group

Note The operations in this section take the corresponding port of the pagoda service as 8888 as an example. For the specific method of obtaining the port corresponding to the pagoda service, please refer to step 3 of enabling the pagoda panel service.

1. Log in to the ECS management console.

2. In the left navigation pane, select Instances and Images > Instances.

3. In the upper left corner of the top menu bar, select Region.

4. On the instance list page, click the instance ID corresponding to the ECS instance.

5. On the instance details page, click the Security Group tab.

6. Click the Security Group List tab, and then click the security group ID.

7. On the security group rules page, add an access rule for port 8888 of the TCP protocol or add a rule that allows access to all ports.

illustrate

• If the corresponding security group rules are not added, port 8888 cannot be accessed, which will result in the inability to access the pagoda panel on the ECS instance.

• It is recommended to open only the security group rules for the corresponding ports to avoid security loss caused by opening the security group rules for all ports.

Taking the access rule that only opens port 8888 of the TCP protocol as an example, the operation steps are as follows:

a. On the Security Group Rules page, click the Inbound Direction tab.

b. Click Add Manually.

c. Fill in the access rules, and click Save in the Action column.

• Authorization Policy: Select Allow.

• Protocol Type: Select Custom TCP.

• Port Range: Select 8888/8888.

• Authorization Object: Select 0.0.0.0/0.

• Description: Fill in according to the actual situation.

Related Articles

Explore More Special Offers

  1. Short Message Service(SMS) & Mail Service

    50,000 email package starts as low as USD 1.99, 120 short messages start at only USD 1.00

phone Contact Us