mentat-is / gulpui-web

web UI for Gulp!
https://gulp.sh
Other
3 stars 0 forks source link

server not found #5

Closed wolfcod closed 1 month ago

wolfcod commented 1 month ago

gulp is running in a virtual machine (ubuntu 22.04 lts) and is listening on port 8080 gulpui-web is running in the same virtual machine listening on port 8443

Using a browser to connect to the remote address on port 8080 is working, gulp is able to receive a request, and also the web server is working fine.

When I change the server address in the login page from http://localhost:8080 to http://serveraddress:8080 and I try to login, a popup appears at the bottom right showing Server not found

Using the Web Developer Tools the browser tries to connect to serveraddress:8080/ using method PUT. The same connection is working fine via a REST client from the same client (it doesn't work only from the webui).

wolfcod commented 1 month ago

Using Chrome browser, the following message is logged in console debugger: Access to fetch at http://serveraddress:port/login?username=USERNAME&password=CLEARTEXTPASSWORD from origin https://serveraddress:8443 has been blocked by CORS policy.