Rocket Chat android app doesn't connect to rocket-chat server in non-standard port

Hi.

I have a rocket-chat instance inside a virtual machine that has host port 60110 mapped to port 3000 in the virtual machine.

http://my-url:60110 does work in any desktop browser and in the desktop app, but it doesn’t work in the android app.

Note that I’m using http and not https.

In Rocket.Chat it gets stuck in the “Loading” animation forever.

In Rocket.Chat Cordova Legacy it says:

Failed to connect to server: abort.abort

Moving this to Community Support. By Rocket.Chat Apps we actually refer to the Apps framework in Rocket.Chat.

Have you tried the non-legacy version?

Yes, I have tried both.

@Akronix I’m really sorry for the delay… can you try again on the native one? It should work with redirects now and custom ports.

Here’s the link to download: https://play.google.com/store/apps/details?id=chat.rocket.android

I’m afraid I just set it up only in standards ports earlier today (80, 443) :slightly_frowning_face:
Maybe someone else can try it out?

Did it work fine to you?

I can’t try it because we aren’t using nonstandard ports anymore. I’m sorry.

I fell into this problem. serving rocket on port 3901. When I downloaded the app from the link on post #4 it does not look to work. I am using blackberry android

However, I have someone that used their android on Samsung a8 and she says it worked and she is chatting me from her phone. She entered the port number and switch from https:// to http://

the only difference between me and her is the phone and that I am inside the network I am hosting this from, even though I am putting in the public URL:3901 it just seems to keep looking, minutes later I get error occurred

UPDATE:
I can confirm that it works. I had to change my public URL to my internal IP if I want to connect this within my network. But outside I’m confident it should work as someone tried and she got in.

s should be good to go!

1 Like