Home >Backend Development >PHP Tutorial >Finally solved the problem of my DISCUZ unable to connect to your server. Maybe your server is behind a firewall. Forum cloud platform problem~_PHP tutorial
Reason: Due to the backup a few days ago, I mistakenly deleted most of the forum source files, so I re-downloaded the source code and transferred it to the space.
Then the problem came. When I turned off the Zongheng search, it prompted "Unable to connect to your server. Maybe your server is behind a firewall." The setting Zongheng search page kept showing "Operation failed"~~
After messing around in the official DISCUZ forum for a while in the morning, I was asked to use my own detection tool to detect it. The detection reported an error "Unable to connect to your server. Maybe your server is behind a firewall."
Follow the post and find out that there may be a communication problem between the host and the cloud platform. Check whether the space service provider has turned on the firewall. So I asked the service provider to rule it out for me, and the final test found that the permission of the newly uploaded file was 777. Because it was installed before, the installation program did not verify the file permissions. So reset the permissions to 755.
Tested again and it was successful and the error was gone.
So I tried to close the vertical and horizontal search again, but it still prompted that the operation failed. What is the reason?
So I considered creating a new site in the space and migrating the configuration files directly to see if the new site would also have such anomalies. After I did everything, after opening the cloud platform, it prompted me that the KEY was incorrect. .
So I considered whether the newly uploaded source text was a KEY. Can I try the function of changing the KEY using the Cloud Platform->Site Information->?
After using the function, the prompt "Unable to connect to your server, maybe your server is behind a firewall" when closing the Zongheng search, and the "operation failed" problem when setting up Zongheng search are solved~~~
Haha, when we encounter problems, we still have to analyze them carefully to get the results!
Forum http://www.zukebbs.com