Minecraft client running on port 4711?
I'm following this tutorial that says I should connect to Minecraft on port 4711. As far as I know the Minecraft server operates at port 25565.
Who am I connecting to? The Minecraft client?
PS. It actually says on the net that the Minecraft client may use port 4711 to communicate. Is this turned off for Minecraft on the Mac? My firewall is off but port 4711 seems unpopulated.
Best Answer
Port 4711 is the RaspberryJuice Spigot server plugin's port to interface with Python.
When starting the server (Spigot) make sure to look through the startup messages and check that it loaded RaspberryJuice properly. I was trying to connect to that port from Python IDLE ide and got Connection Refused.
Turned out I had an error "major.minor 52" and had to update Java to the latest version to get Spigot to load RaspberryJuice properly.
Pictures about "Minecraft client running on port 4711?"



What ports can Minecraft run on?
Minecraft Ports Needed To Run The Game The default Minecraft ports are: TCP Port: 25565. UDP Port: 19132.How do I run Minecraft on a different port?
To do so, go into your router's admin interface and forward the port that you're going to use to the same port - and specify it to be forwarded to the server's internal IP, assuming it's on the same network.How do I find my Minecraft server port?
If you hit / inside the world just after you open it to LAN, it will show you what port it opened on.How to Self Host a Minecraft Java Server (100% Free)
More answers regarding minecraft client running on port 4711?
Answer 2
This was initially confusing for me as well. When I enter python code and create the minecraft world initial object mc to connect to, I did not know whether python connects to localhost minecraft client which then handles the connection with minecraft server, or is it that python directly connects to the server on LAN and talks to raspberryjuice plugin there. It seems the latter is the case and therefore code like this works:
mc = minecraft.Minecraft.create("192.168.1.18")
Where address needs to be whatever address is assigned to you local LAN server. you can also put in port in this initial command, but the defaults are:
def create(address = "localhost", port = 4711)
So the default port 4711 is already there and therefore you only need to specify address. Port you would specify only if you had set your server to run on different than default port.
Answer 3
My issue was a rather peculiar one in that I got that message simply because the PlugInMetrics and RaspberryJuice folders where in a different Plugins directory from where I had originally setup my Spigot folder. Just check to make sure everything is where it's supposed to be, copy/move it over if it is not or change scripts to point in the correct path.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Laker, ROMAN ODINTSOV, RODNAE Productions, Yaroslav Shuraev
