400 Bad Request

Started by emad, December 15, 2023, 02:05:23 PM

Previous topic - Next topic

emad


overseer

Going to need more info -- error logs especially. Are you on Apache or Nginx?

rcschaff

https://prnt.sc/BmiTOAKMWv7F

Your router is intercepting the request, not CWP.  Therefor throwing the 400 error as I'm sure your router is set to only allow access from the local NAT
Google Hangouts:  rcschaff82@gmail.com

emad

How do I solve this problem, please let me know

rcschaff

You need your router to forward the ports to the server.  Are you by chance using NAT?
Google Hangouts:  rcschaff82@gmail.com

emad

Can you tell me the steps I should do, please help

rcschaff

https://www.hyperoptic.com/wp-content/uploads/2019/08/Port-forwarding-and-DMZ-for-ZTE-ZXHN-H298A-v1.3.pdf


This is beyond the scope of the forum.  You will need to forward all of the ports, or set the computer behind the NAT as a DMZ server.
Google Hangouts:  rcschaff82@gmail.com

emad

Everything worked successfully but it still has the same problem
Everything was done correctly in the redirection, but it does not work, why?
http://emad-host.online/

rcschaff

Turn off remote administration for your router.
Google Hangouts:  rcschaff82@gmail.com

emad

How do I do these steps?
Will I solve the problem after that?

rcschaff

I can't guarantee anything.  But this is why cwp is really meant to be on a server with a public IP, and not hosted behind a nat
Google Hangouts:  rcschaff82@gmail.com

emad


rcschaff

I get the cwp page, so yes
Google Hangouts:  rcschaff82@gmail.com

emad

Thank you for your help. Is everything resolved?

emad

Why did I not upload a script or install WordPress? It does not appear on a site that only opens a CWP page

http://emad-host.online/