I am facing this problem in appwrite during Add a platform . After I select web, it redirect me to the Hostname Registration page, and when I enter localhost in Hostname it says that Please enter a valid host name. I can't solve this problem if anyone help me it will be a great support.
TL;DR
Problem encountered while adding platform 'localhost' in Appwrite. Developers face issue when selecting web platform, as it redirects to Hostname Registration page where adding 'localhost' triggers error "Please enter a valid host name." Assistance requested to resolve this issue. Solution: Instead of 'localhost', consider using a specific domain or IP address.