B4J Question This site can’t be reached message jRDC2 on VPS

Discussion in 'B4J Questions' started by Binary01, Jan 9, 2019.

?

This site can’t be reached message jRDC2 on VPS

  1. how to fix

    0 vote(s)
    0.0%
  2. vps port?

    0 vote(s)
    0.0%
  1. Binary01

    Binary01 Member Licensed User

    Hi,

    When I test my test.jar(jRDC application server) on my pc, everything is ok.

    Now I run test.jar on vps.
    Application is run.
    When I access with my pc browser, it shows This site can’t be reached in browser.
    So I test
    curl http://127.0.0.1:17178/test
    on vps console.
    It shows
    RemoteServer is running (01/09/2019 15:04:35)<br/>Error fetching connection.root@mysql-s-1vcpu-2gb-s

    I already opened the firewall port 17178
    sudo iptables -I INPUT -p tcp -m tcp --dport 17178 -j ACCEPT

    How can I fix it?



     
  2. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    127.0.0.1 is the localhost, test it on the VPS server with 127.0.0.1, if you want to connect from your PC to the rdc, then you need the IP adress of the VPS.
     
  3. Binary01

    Binary01 Member Licensed User

    Thanks Alexander Stolte.

    1. On VPS server, I test at console as follow:
    curl http://127.0.0.1:17178/test
    it shows RemoteServer is running (01/09/2019 15:04:35)<br/>Error fetching connection.root@mysql-s-1vcpu-2gb-s.

    2. on my PC's browser I test as follow:
    http://128.199.xx.xx:17178/test
    it shows This site can’t be reached

    (Edit)
    now after one minitue
    RemoteServer is running (01/09/2019 16:17:29)
    Error fetching connection.
    in my PC browser.
    (Edit)

    Thanks.

     
    Last edited: Jan 9, 2019
  4. Binary01

    Binary01 Member Licensed User

    Now it's ok.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice