Open RafaelKluender opened 4 years ago
Which URL exactly did you use in your browser? It should be localhost:6080/sormas-ui/login if it's a local server that you're running on the same system that you try to access it on.
I have no browser on the server installed. I do get an answer via the curl command though:
curl http://127.0.0.1:6080/sormas-ui
answers:
This document has moved <a href="http://127.0.0.1:6080/sormas-ui/">here</a>.<p>
So it's seems to work. Yet, from the outside payara seems to refuse connections.
Have you also set up the Apache web server?
I just ran a portscan, 6080 is actually closed, despite the fact that I enabled it on the firewall. It only works from localhost. I must check why 6080 is closed and I'll come back to you.
When I run:
sudo lsof -i -P -n | grep LISTEN
I see that payara is only listening to localhost:
I personally think that this should absolutely be the case because the Payara server should always be hidden behind an Apache whenever it's visible from the web. @MartinWahnschaffeSymeda I think you can give a few more details here.
I will put more details here, once I have really reached my goal. I now can use a demo server but no matter which login i Pick up, a banner with "an error occured" shows up. Once I have understood everything, I will pots more details here, sure.
Is there some update here, or can this issue be closed?
I have successfully run the server-configuration and server-update scripts. No errors popped up, finally. But I still cannot access the domain from the internet. when I type IP:6080/sormas-ui/login I get a connection reset.
I have started the service payara-sormas, and when I check the domain using: curl http://127.0.0.1:6080/sormas-ui/login
I get:
<!doctype html>