Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMP or XFTP server address avoiding it ends with the port number #769

Open
nicfab opened this issue Jun 4, 2023 · 10 comments
Open

SMP or XFTP server address avoiding it ends with the port number #769

nicfab opened this issue Jun 4, 2023 · 10 comments

Comments

@nicfab
Copy link

nicfab commented Jun 4, 2023

I had to set up SMP and XFTP servers on a different port instead of the default ones because the default (especially 443 is already taken by another service).
Thus, the server (SMP or XFTP) address finishes with @domain:portnumber.
Is there any way to avoid the server address finishing as mentioned below, with @domain:portnumber?
I mean, modifying some parameters somewhere.

@Death-Pact
Copy link

I would also love to see the ability to change ports. 443 is very commonly reverse proxies for many.

@Frereneo
Copy link

Hello,
It would be really interesting to be able to specify a port other than 443 for the xftp protocol.
Thanks in advance!

@webstudiobond
Copy link

If you are using docker compose, just specify:

version: "3"
services:
  simplexchat-xftp:
    ...
    ports:
      - "5233:443"
    ...

and add this portnumber=5233
@Domain:5233

@EsEnZeT
Copy link

EsEnZeT commented Oct 5, 2023

If you are using docker compose, just specify:

version: "3"
services:
  simplexchat-xftp:
    ...
    ports:
      - "5233:443"
    ...

and add this portnumber=5233 @Domain:5233

Can you please clarify what is this portnumber=5233 and where it should be added?

@webstudiobond
Copy link

webstudiobond commented Oct 5, 2023

This is if port 443 is already occupied on the server, you can specify any other one for xftp in the docker compose.
Added to yaml and then to the app for xftp

@EsEnZeT
Copy link

EsEnZeT commented Oct 5, 2023

Ah understood, I thought it was something additional (except docker-compose + entry in app).

Unfortunately doesn't look like app accepts currently xftp with custom port (looks like it's ignored)

@webstudiobond
Copy link

I have added a port and it works

@EsEnZeT
Copy link

EsEnZeT commented Oct 5, 2023

I have added a port and it works

You are right looks like it works, but the android app is just showing red X sign it doesn't somehow

@systemling32
Copy link

For me both the Desktop GUI client as well as the Android client still act up if I try to add a xftp server on a non-standard port.
To reproduce just copy the xftp:// string from a preset server (xftp2.simplex.im) and add a port descriptor so it looks like:
xftp://5vog2Imy1ExJB_7zDZrkV1KDWi96jYFyy9CL6fndBVw=@xftp2.simplex.im:443,jk6jybnel5hin2am5omd7g3hyvb4tfkyl7ea4vx5ldi7gpvz5ogqtcqd.onion

port 443 is the default port for xftp so it should be reachable at that port even though specifying a port in this case is redundant of course. When I add the:443 part the "Test Server" button immediately gets greyed out and I cannot establish a connection to the server even though it is reachable at the same port when the :443 is omitted. Same for my own xftp server that I host at a non-standard port: I cannot enter the connection details because the client considers them invalid.

@vecna13
Copy link

vecna13 commented Jan 25, 2024

@systemling32 Try putting the port after the onion address. See #849 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants