Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

JATOS server doesn't open in browser

I'm having a similar issue as in this thread: https://forum.cogsci.nl/discussion/5777/jatos-server-account

I created a VPS with CentOS via TransIP. I've installed JATOS on there, and the loader.sh file executes. It says to go to a certain IP address in my browser, and when I try to do this I just get the message that the web page cannot be loaded. I tried this with the default IP address 0.0.0.0:9000, but have also tried to use command-line arguments -Dhttp.address and -Dhttp.port and used different IP addresses and ports, I've also edited the conf/production.conf file to give it the IP address of my server, and I've added inbound rules to the firewall of my VPS for port 80 and 443. None of this seems to be solving the problem. What else can I try?

Comments

  • I've never worked with TransIP myself. But JATOS should work on any Linux system.

    I tried this with the default IP address 0.0.0.0:9000, but have also tried ... different IP addresses and ports

    You have to use the IP address that is given to your machine (your VPS) by your provider. The 0.0.0.0:9000 won't work (it only works on your local computer). Your provider (TransIP) tells you what your IP is and if not you can find it out by yourself with the terminal command `ip addr`. For the port you should use 80 (it's the HTTP standard port).

    Hope this helps,

    Kristian

  • Thank you for the reply!

    Do I have to add that IP address in the conf/production.conf file as well?

  • I've commented out the line in the conf/production.conf file that specifies IP and port, and now when I start JATOS and go to my VPS' IP address in the browser at port 80, I get sent to the web server's default page. The :80 disappears from the address bar. Any idea why that could be? I have specified an inbound rule in my VPS' firewall for port 80...

  • I've commented out the line in the conf/production.conf file that specifies IP and port, and now when I start JATOS and go to my VPS' IP address in the browser at port 80, I get sent to the web server's default page.

    I'm confused. There is another web server installed on your server (apart from JATOS)? What other web server? And it's bound to port 80? Then, you can't bind JATOS on the same port. Only one web server per port (or you use some proxy).

    The :80 disappears from the address bar. Any idea why that could be?

    Standard behavior. Since port 80 is the default port, browsers do not display it anymore.

    I have specified an inbound rule in my VPS' firewall for port 80...

    Correct.

  • edited May 2020

    I indeed found out that the problem was that Plesk was bound to port 80. I've reinstalled the webserver without Plesk and now it seems to work!

  • Nice!

Sign In or Register to comment.