got a vm off of my friend

i try create a server for the modpack "Prominence II" i started it and all, but when i put the ip of the vm i cant connect to it in the game
40 Replies
Admincraft Meta
Admincraft Meta5mo ago
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 draftedboypart2#0
Deleted User
Deleted UserOP5mo ago
i am using oracle vm
cal
cal5mo ago
Is the 25565 (or whatever port youre using) open?
Deleted User
Deleted UserOP5mo ago
it is
cal
cal5mo ago
can you run ufw status (and show the output)
Deleted User
Deleted UserOP5mo ago
yep wait inactive
cal
cal5mo ago
so you can ssh into the machine, but you cant connect to it in mc? are you unable to join still using <ip>:<port>
Deleted User
Deleted UserOP5mo ago
i can ssh into it i cant join i put the ip a and the port 25564 25565*
ProGamingDk
ProGamingDk5mo ago
Oracle has a web firewall aswell That needs to be modified
Deleted User
Deleted UserOP5mo ago
oh ima tell my friend to make the necessary changes then. he just let me ssh into the vm can you tell me what changes?
ProGamingDk
ProGamingDk5mo ago
setup.md
Oracle Cloud
A modified version of the guide produced by u/Belaboy1095969 on the Admincraft reddit using Ubuntu LTS.
Deleted User
Deleted UserOP5mo ago
👍
Torrent
Torrent5mo ago
You need to add ingress rules to the subnet. Instances -> click on instance -> subnet Add ingress rules for 0.0.0.0/0 and destination port 25565
Deleted User
Deleted UserOP5mo ago
ok thanks i will let him know to do so
Hariharan
Hariharan5mo ago
Hello I am his friend I thought this was done already, but I'll check again. Thanks a lot 👍
Torrent
Torrent5mo ago
Np, do that for any ports that need to be exposed Like 19132 for geyser And you should probably enable ufw for additional security
Hariharan
Hariharan5mo ago
Yepp will look into that
Deleted User
Deleted UserOP5mo ago
hey uh he opened the necessary ports but i still cant connect
Deleted User
Deleted UserOP5mo ago
No description
Deleted User
Deleted UserOP5mo ago
@Torrent
Torrent
Torrent5mo ago
show me the ingress rules for the subnet sounds like you and your friend aren't on the same page yet
Deleted User
Deleted UserOP5mo ago
can i show you through the terminal only?
Torrent
Torrent5mo ago
no doesn't work like that
Deleted User
Deleted UserOP5mo ago
oh gotta wait for him then
Torrent
Torrent5mo ago
at least afaik
Hariharan
Hariharan5mo ago
I added a network security group with 25565 open I think the issue is with iptables I had this before
Torrent
Torrent5mo ago
send screenshot of ingress rules and iptables please
Hariharan
Hariharan5mo ago
Will do i just checked what i did yesterday, it was redundant. Someone had already added 25565 to the ingress rules somewhere else
Hariharan
Hariharan5mo ago
No description
Hariharan
Hariharan5mo ago
No description
Hariharan
Hariharan5mo ago
but iptables looks fine too...
Hariharan
Hariharan5mo ago
No description
Hariharan
Hariharan5mo ago
i completely removed all iptables rules, can you check now? @Deleted User i shouldve realised this earlier... ive had this issue before 😅
Deleted User
Deleted UserOP5mo ago
yep wait
Torrent
Torrent5mo ago
sudo iptables -A INPUT -p tcp --dport 25565 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 25565 -j ACCEPT
If you add the iptables again you need to add that rule ^
Hariharan
Hariharan5mo ago
since ufw is active and oracle has its own firewall, i dont really need iptables too, right?
Torrent
Torrent5mo ago
depends on the level of security you want lol, but no
Hariharan
Hariharan5mo ago
cool then, ill look into it some time later
Deleted User
Deleted UserOP5mo ago
!answered
Admincraft Meta
Admincraft Meta5mo ago
post closed!
The post/thread has been closed!
Requested by draftedboypart2#0

Did you find this page helpful?