How do I host a modded server and vanilla on the same Oracle Cloud VM at the same time?
I'm trying to host a 24/7 modded server as well as my current 24/7 vanilla server using the Oracle Ampere thing. I have 2 CPU with 18 gb memory so It should be more than capable of doing so. Could anyone help me out?
10 Replies
why did u not take the full 4 vcores and 24 gb u get?
just run 2 screens
or 2 tmux's
what about IP tho
cause how does it differentiate between the 2
@ProGamingDK
port
change it in server.properties
oh
but when i join my vanilla one i dont even put a port
or is it cause default is like 25565 or wtver
default is 25565 yes
if you host a server on that you dont need port
but only 1 server can be hosted on port 25565
okay!
@ProGamingDK idk what im doing wrong
i created a new folder called ModdedMinecraft
and I did the forge installer stuff and changed the port in server properties to 25575
and I dragged all the mods on client side into the server mods folder
do I need to re portforward?
well yeah
u need to portforward 25575
Port Forwarding for server
sudo iptables -I INPUT -p tcp -m tcp --dport 25565 -j ACCEPT
sudo iptables -I INPUT -p udp -m udp --dport 25565 -j ACCEPT
sudo iptables -I OUTPUT -p tcp -m tcp --dport 25565 -j ACCEPT
sudo iptables -I OUTPUT -p udp -m udp --dport 25565 -j ACCEPT
sudo netfilter-persistent save
sudo netfilter-persistent reload
sudo iptables -F
is it with these things
but replace with 25575
u also need to do it on the ocp cloud firewall
K
i did both and i still cant join