tinfoil-hat
Active Member
Hi,
I installed Pleroma on a LXC Container inside a Proxmox VPS. I installed it on Debian using these instructions:
https://docs-develop.pleroma.social/backend/installation/debian_based_en/
I want to run it inside the LXC and connect to it via nginx reverse proxy on Proxmox host, which is public. That's the reason I want it to listen on 0.0.0.0
As you can see, it's running
I also made sure, I used
It should be listening on 0.0.0.0 port 4000
There is no pleroma listening on any port ... strange
I installed Pleroma on a LXC Container inside a Proxmox VPS. I installed it on Debian using these instructions:
https://docs-develop.pleroma.social/backend/installation/debian_based_en/
I want to run it inside the LXC and connect to it via nginx reverse proxy on Proxmox host, which is public. That's the reason I want it to listen on 0.0.0.0
As you can see, it's running
Code:
root@pleroma:/opt/pleroma# systemctl status pleroma
● pleroma.service - Pleroma social network
Loaded: loaded (/etc/systemd/system/pleroma.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-02-09 01:57:31 UTC; 1s ago
Main PID: 14403 (beam.smp)
Tasks: 29 (limit: 19112)
Memory: 60.8M
CPU: 1.500s
CGroup: /system.slice/pleroma.service
├─14403 /usr/lib/erlang/erts-13.1.5/bin/beam.smp -- -root /usr/lib/erlang -bindir /usr/lib/erlang/erts-13.1.5/bin -progname erl -- -home /var/lib/pleroma -- -pa /usr/lib/elixir/bin/../lib/eex/ebin /usr/lib/elixir/bin/../lib/elixir/ebin /usr/lib/elixir/bin/../>
└─14418 erl_child_setup 1024
Feb 09 01:57:31 pleroma systemd[1]: Started pleroma.service - Pleroma social network.
I also made sure, I used
like it says in the Documentationsudo -Hu pleroma mv config/{generated_config.exs,prod.secret.exs}
It should be listening on 0.0.0.0 port 4000
less config/prod.secret.exs
Code:
# Pleroma instance configuration
# NOTE: This file should not be committed to a repo or otherwise made public
# without removing sensitive information.
import Config
config :pleroma, Pleroma.Web.Endpoint,
url: [host: "domain.tld", scheme: "https", port: 443],
http: [ip: {0, 0, 0, 0}, port: 4000],
.
.
.
There is no pleroma listening on any port ... strange
Code:
root@pleroma:/opt/pleroma# netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 103 4074776 143/postgres
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 4075966 296/master
tcp6 0 0 :::22 :::* LISTEN 0 4071416 1/init
tcp6 0 0 ::1:25 :::* LISTEN 0 4075967 296/master
tcp6 0 0 ::1:5432 :::* LISTEN 103 4074775 143/postgres
tcp6 0 0 :::4369 :::* LISTEN 0 4071415 1/init
root@pleroma:/opt/pleroma#