lavalink is able to bind only on localhost ie if i use this config
server: # REST and WS server
port: 2333
address: 0.0.0.0
lavalink:
server:
password: "youshallnotpass"
sources:
youtube: true
bandcamp: true
soundcloud: true
twitch: true
vimeo: true
mixer: true
http: true
local: false
bufferDurationMs: 400
youtubePlaylistLoadLimit: 6 # Number of pages at 100 each
youtubeSearchEnabled: true
soundcloudSearchEnabled: true
gc-warnings: true
metrics:
prometheus:
enabled: false
endpoint: /metrics
sentry:
dsn: ""
# tags:
# some_key: some_value
# another_key: another_value
logging:
file:
max-history: 30
max-size: 1GB
path: ./logs/
level:
root: INFO
lavalink: INFO
but how can i access this to my discord bot i tried to use my secondary ip which is 3.6.209.14 (public ip address ) 172.31.21.112 (private ip address )
if i open the public ip address it will say 401 that means lavalink server is working but it not responding
but no no avail is there a way for me to host the lavalink in local host and redirect all traffic to that secondary public ip address i am using aws es2 wordpress engine with site hosted on main or primary public ip adderss