Bluemap on VPS pterodactyl panel, 2 paper servers with a velocity proxy
Hey I am trying to figure out the following:
- Running bluemap only for one of the servers
- Giving the map it's own address (without port)
I am trying understand what is the correct setup (having all the server and proxy under the same node on pterodactyl) for bluemap to allow the port to run under it's own DNS record.
Hopefully someone can guide me in the right direction, the docs are not referring this specific case and I am still learning 🙂
61 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by zuk8375#0
You need to reverse proxy it if you want to display it on a domain
^^
Yes, but I seems to have issues evenly before that.
I've set up the bluemap, it is running.
I've allocate the port for it and updated rhe and config.
But I cannot access the map from the public ip:port or the proxy dns-record:port
is your webserver enabled in webserver.conf??
when you reload bluemap/restart your server, the webserver should start. Something like "webserver started on port:<port you put in the config>"
If it doesn't that means it's a misconfiguration of bluemap
You also want to make sure that the port is open in pterodactyl as well as in your firewall
These are the logs I am getting when starting the server
I have changed the config to the port I have allocated and on the firewall
Run
netstat -tnlp | grep :25568
It retruns nothing
This the network map I have:
Maybe that would give you a clue on what I did wrong?
Not really, this is a bluemap misconfig, I was just seeing if netstat showed the port was actually being used
Run
ufw status
it's inactive
This is the webserver.conf without comments:
this may be a silly question but is the port allocated to the server that bluemap is hosted on?
in pterodactyl
This is the current allocation.
I have also tried to open 25568 for the public ip and priavte ip4v address, just in case I did not understand correctly (one at a time)
You haven’t assigned port 25568 to any server?
No, I have tried using that from the server on port 25566? is that the issue?
??? bluemap needs a port to use
if bluemap is configured to use port 25568, you need to give that server port 25568
It cant use the same port as the Minecraft server is running on
^
Sorry, I don't understand which server should be using this port
the server that hosts bluemap
it's runs a webapp on from the same container as the mc server, right?
yes
but it needs a port to run on
so give whatever server that runs bluemap the 25568 port
and configure bluemap to use 25568 in config
How do I give the server the port of the bluemap?
click on the server in the admin panel -> allocations -> assign port, the click the port that you added to the node
^^
wait you can assign ports from ptero allocations?
yes, if you don't turn on auto allocations
which I can't fucking figure out how to do LOL
I do see the assign port on the page but I'll look around
oh
What the purpose of auto allocation?
lets you add ports within the server, not in the admin panel
or just Admin Page -> Servers -> select the server running bluemap -> build configuration -> click on the ‘assign additional ports’ box, select the right port -> save
I feel stupid
don't feel stupid, shit is complicated
I mean, sure I have added a port for the internal ip, but why would it be related to the server
because
In pterodactyl
it needs access to the ports
ptero runs in docker
so docker has to have access to the ports
if it isn’t given the port it’s not accessible
Bluemap might say it is running on the port
but you can’t access it
ok now I can see the service with the port running in netstat
Still can't accews it lol
how are you accessing it
try http://ip:port
port being the port bluemap is running on, and ip being your server IP
if it works, that means your webserver config is wrong (not in bluemap, the reverse proxy)
try set the 25568 allocation up address to 127.0.0.1 and ip alias 172.18.0.1
I have not set it up yet, starting with getting bluemap to run first
I'll try that
(You’ll have to unassign the existing allocation from your server first to delete it)
you mean 172?
nope
for the second one
oh
yeah
sorry
good catch
I'm just using my public IP for the port
but I'll probably reconfig everything to use ptero's passthrough IP
idk what the purpose of it is for though
172.18.0.1 is the internal docker ip I think
something like that
is it better to use the passthrough IP for allocated ports?
This is the current allocation and network for the server
Any clue what I could be missing?
Set IP alias to 172.18.0.1
in allocation
then you can try connect via http://port:ip
if that doesn’t work, remake the allocation and make it like your network allocation (where it’s your private 10.0.0.xx address)
Make sure you restart the server
I get the current html from if that's a sign for anything
I'll try what you suggested
yeah well you’re running that on the same machine
if you tried to run the same command externally it wouldn’t work
You are connecting with the public IP right?
no, I am using a domain
but both does not work
send your current allocations
(image)
Haven't changed to the 172.18.0.1 alias yet
set the ip address of that allocation to 10.0.0.18
Heyyyy it working with that!
I appreciate the help so much!
sweet!
I really do appreciate it!
In the linux space there is a lot of gatekeeping and just telling you to go do some research
yeah, we’re always happy to help here though
Tha't not obvious at all
!solved
post closed!
The post/thread has been closed!
Requested by zuk8375#0