Skip to content

Changing the default port #215

Open
Open
@lnxredir

Description

@lnxredir

Hello! I've started using infrared and it works wonderfully, the problem is I have a Alpha server running on my server and from what i've read it can't support versions bellow 1.6 (i think) so to keep the alpha server running normally using just my domain name, how can I change the default port from infrared while making it still work on more modern servers? Ill give an example bellow:

compose.yml

version: '3'

services:
  infrared:
    image: ghcr.io/haveachin/infrared:1.3.3
    container_name: infrared
    restart: unless-stopped
    stdin_open: true
    tty: true
    ports:
      - "25570:25570/tcp"
    volumes:
      - "./data/configs:/configs"
    expose:
      - "25570"
    environment:
      INFRARED_CONFIG_PATH: "/configs"


play.example.com.json

{
    "domainName": "play.example.com",
    "proxyTo": "192.168.3.4:25568",
    "listenTo": "0.0.0.0:25570",
    "disconnectMessage": "Goodbye",
    "offlineStatus": {
      "motd": "Server is currently offline :("
    }
}

I dont know if im doing something wrong but it doesn't work like it should. If i change it back to 25565 the server works but I cant run the alpha one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions