Connecting to running server on the same network doesnt work. People from outside my network can joi

Im trying to set up a server on my old macbook. Ive got everything running and friends can connect to the server. Only I cant connect from my windows machine to the server. Im on the same network. Windows with ethernet and Mac with Wifi. I tried turning off the Windows firewall completely to test but it still didnt work. Friends use my public IP, i use the local IP from my mac.
125 Replies
Admincraft Meta
Thanks for asking your question!
Once you have finished, please close your thread. Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close !close !solved
Requested by flobby#0
ProGamingDk
ProGamingDk2y ago
are u using the internal ip from ifconfig
Flobby
FlobbyOP2y ago
yes Im connecting to my local macbook ipv4 with my windows machine
Shrecknt
Shrecknt2y ago
Are you connecting to 192.168.x.x?
Flobby
FlobbyOP2y ago
yes I now also tried: Connecting to the server from a third device in the same network - didnt connect Connecting to server from different network - connected Changing internal ipv4 from macbook to static ip (and everything connected to it) - didnt change any outcome Firewall rules for the 25565 port Disabling firewall on Macbook I can ping the different devices from each other Clarification: Connection from outside network with external ip: 91.64.xxx.xx Connection from local network with internal ip from Macbook (server): 192.168.x.xx
QarthO
QarthO2y ago
so u can ping ur macbook from ur windows computer? (not mc server, jus macbook)
Flobby
FlobbyOP2y ago
yes
QarthO
QarthO2y ago
in ur server.properties make sure ur serverip is left blank
Flobby
FlobbyOP2y ago
yea i made sure its blank
QarthO
QarthO2y ago
try putting ur internal ip then
Flobby
FlobbyOP2y ago
ill try wont that lead to the issue of people outside the network not connecting? assuming that i would work sadly doesnt work
QarthO
QarthO2y ago
idk something is either really wonky, or ur just using ur wrong internal ip
Flobby
FlobbyOP2y ago
there is only one so its hard to say is it possible to have anything to do with ipv6?
QarthO
QarthO2y ago
no it shouldnt on ur mac, go to apple menu -> system preferences -> network is that the ipv4 ur using?
Flobby
FlobbyOP2y ago
yes
QarthO
QarthO2y ago
and NOT ur routers can u connect to it from ur macbook using localhost
Flobby
FlobbyOP2y ago
yea theyre different nd im using the ipv4 adress yes
QarthO
QarthO2y ago
so from ur windows pc, ur able to ping ur macbook using that ipv4 (the same ipv4 ur seeing in the system preferences)
Flobby
FlobbyOP2y ago
yea
QarthO
QarthO2y ago
idk it should work
Flobby
FlobbyOP2y ago
im getting response times from 2-600ms
QarthO
QarthO2y ago
like i'd just double check ur actually typing the right ip just to make sure im not crazy i have a macbook and did this exact same thing rn and its working
Flobby
FlobbyOP2y ago
hm
QarthO
QarthO2y ago
my only assumption is ur not typing the right ip what macos version are u running?
Flobby
FlobbyOP2y ago
maybe ill uninstall everything and just try again tomorrow 11.7.3 big sur its a 2013 macbook air
QarthO
QarthO2y ago
yeah, id do the classic turn it off, blow on it, turn it back on trick. im on a dif macbook, but i dont really see how it be different IF: if ur able to connect to the server from an external ip THEN all i can think of is ur using the wrong internal ip OR ur windows pc is on a different subnet than ur mac
Flobby
FlobbyOP2y ago
yea i think ill try to reinstall everything on my mac
QarthO
QarthO2y ago
you shouldnt need to do that at all its something with ur network
Flobby
FlobbyOP2y ago
subnet is the same on both aswell ill try and install the server on my windows laptop and see if the problem persists
QarthO
QarthO2y ago
if the problem persists on ur windows pc.. then u are 100% typing the wrong ip
Flobby
FlobbyOP2y ago
yea do you think setting an static ip on my mac might change something in that regard? that way i know for 1000% which ip it is lol (im really sure im using the right ip)
QarthO
QarthO2y ago
wont really do much it'll only mean u wont have to recheck ur ip if ur router runs out of ips and a new device is assigned ur macbooks old ip ur internal ip shouldnt be changing
Flobby
FlobbyOP2y ago
yea i thought so
QarthO
QarthO2y ago
but if it does, just always check before connecting
Flobby
FlobbyOP2y ago
i just want to make sure one question with ifconfig im new to mac so im not sure
QarthO
QarthO2y ago
go to system preferences to check ur ip
Flobby
FlobbyOP2y ago
it shows me inet6 first im assuming thats ipv6
QarthO
QarthO2y ago
well u can look at the ip format and see if its ipv4 or ipv6
Flobby
FlobbyOP2y ago
on inet it says the ip im using for the connection. thats the one im supposed to use right?
QarthO
QarthO2y ago
ipv4 looks like :192.168.10.150 ipv6 looks like: 3002:0bd6:0000:0000:0000:ee00:0033:6778
Flobby
FlobbyOP2y ago
yea i just read that mac prioritizes ipv6 but u said before that that shouldnt matter anyways thank you for your help ill try my ways through everything one more time should i close this thread?
QarthO
QarthO2y ago
no keep it open if u find a solution i'd like to know
Flobby
FlobbyOP2y ago
alright!
QarthO
QarthO2y ago
cuz there might be some weird mac setting on older os
Discount Milk
Discount Milk2y ago
In windows Is your network set to "public" or "private" And what error are you getting when you try and connect?
QarthO
QarthO2y ago
Oh yeah, I’d disable firewall on the windows pc that ur trying to connect from. If it works then u can add mc to ur firewall (Windows defender)
Discount Milk
Discount Milk2y ago
Nah don't disable the firewall
QarthO
QarthO2y ago
its just to test but yes never keep ur firewall disabled
Flobby
FlobbyOP2y ago
Ive tested it with the firewall disabled already
QarthO
QarthO2y ago
on the windows pc (not the macbook)
Flobby
FlobbyOP2y ago
Yea I tried on both What exactly do you mean?
Discount Milk
Discount Milk2y ago
Google "How to set network to private in windows"
Flobby
FlobbyOP2y ago
it is private should i put it on public?
Discount Milk
Discount Milk2y ago
Private is good ?
Flobby
FlobbyOP2y ago
1 sec, starting up again
Flobby
FlobbyOP2y ago
No description
Discount Milk
Discount Milk2y ago
What's the local IP of your server?
Flobby
FlobbyOP2y ago
192.168.0.65
Discount Milk
Discount Milk2y ago
Alright go to multiplayer > direct connection > and put that number in
Flobby
FlobbyOP2y ago
thats what that is
Discount Milk
Discount Milk2y ago
Make sure there's no space at the beginning or end
Flobby
FlobbyOP2y ago
typed it again still the same
Discount Milk
Discount Milk2y ago
The mac Can you load a client on it?
Flobby
FlobbyOP2y ago
wdym by client
Discount Milk
Discount Milk2y ago
A minecraft client
Flobby
FlobbyOP2y ago
yea i have it isntalled
Discount Milk
Discount Milk2y ago
If you get on the Mac, try and connect to "localhost" all one word
Flobby
FlobbyOP2y ago
ive tried that before and it worked ill try again to make sure
Discount Milk
Discount Milk2y ago
Okay, after you try it again for me try and connect to 192.168.0.65
Flobby
FlobbyOP2y ago
i got an timed out error message now it worked
Discount Milk
Discount Milk2y ago
Doing localhost or 192.168.0.65?
Flobby
FlobbyOP2y ago
localhost first connection timed out, second worked ill try the ip now ip works
Discount Milk
Discount Milk2y ago
If you got a timed out while doing localhost, something gone horribly wrong Might be a problem with the Mac. But the fact you got a timed out even once using localhost means you got bigger problems than just connecting to a minecraft server.
QarthO
QarthO2y ago
eh, i see timed out ALOT if you try joining too fast even on popular servers such as hypixel
Discount Milk
Discount Milk2y ago
I ain't ever see a connection timed out when connecting to localhost in the direct connect screen.
Flobby
FlobbyOP2y ago
ive connected about 15 times now and there wasnt a problem
QarthO
QarthO2y ago
yeah i see timeout all the time for the FIRST time when connecting to fast both windows and mac (i use both)
Discount Milk
Discount Milk2y ago
I've never seen it while connecting to localhost
QarthO
QarthO2y ago
i have (but only on windows, never ran a server on my mac)
Flobby
FlobbyOP2y ago
either way its an connection error that probably doesnt have anything to do with minecraft at this point
QarthO
QarthO2y ago
^
Discount Milk
Discount Milk2y ago
Possible to try and connect the mac to the network using an ethernet cord? Wifi isn't a 100% reliable means of connecting to networks
Flobby
FlobbyOP2y ago
id need to find my spare ehternet cable, might take a while there is no ethernet port on the macbook...
Discount Milk
Discount Milk2y ago
:OMEGALULiguess:
QarthO
QarthO2y ago
you'll need an adapter, but i dont think this is an issue at all... i think it be very unfun for ur players, cause of how inconsistent the ping will be since ur on wifi, but it wont completly prevent another pc from conencting to it
Shrecknt
Shrecknt2y ago
average apple product
Flobby
FlobbyOP2y ago
my windows laptop doesnt have one either...
QarthO
QarthO2y ago
lots of newer laptops have this too yeah this isnt a mac specific issue apple were just the first too mainstream t.
Discount Milk
Discount Milk2y ago
Question: in the console when the server starts up one moment Okay, the line that says "Starting minecraft server on" What is there?
Flobby
FlobbyOP2y ago
one sec, scuffed phone img incoming
Discount Milk
Discount Milk2y ago
lol ok
Flobby
FlobbyOP2y ago
No description
Flobby
FlobbyOP2y ago
yikes sorry for that
Discount Milk
Discount Milk2y ago
IT's... workable.
Flobby
FlobbyOP2y ago
no clue how to screenshot on mac
Discount Milk
Discount Milk2y ago
How to take a screenshot on a Mac
Use either keyboard shortcuts or the Preview app to take a screenshot of the whole Mac screen, of part of the screen or of a single window.
Flobby
FlobbyOP2y ago
🙏
Discount Milk
Discount Milk2y ago
just for the tickles and grins of it On another terminal window do ifconfig and send the results
Flobby
FlobbyOP2y ago
No description
Flobby
FlobbyOP2y ago
imma jump if there is a different ip somewhere
Discount Milk
Discount Milk2y ago
No that looks good to me mind sending your local client logs from when you tried to connect?
Flobby
FlobbyOP2y ago
No description
Discount Milk
Discount Milk2y ago
mind sending the entire log file ?
Flobby
FlobbyOP2y ago
sure
Flobby
FlobbyOP2y ago
Admincraft Meta
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
Requested by flobby#0
Discount Milk
Discount Milk2y ago
Mind using a brand new profile of minecraft? Sorry, installation I guess they call it now.
Discount Milk
Discount Milk2y ago
No description
Flobby
FlobbyOP2y ago
yup, starting
Flobby
FlobbyOP2y ago
Admincraft Meta
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
Requested by flobby#0
Discount Milk
Discount Milk2y ago
Hmmmm If you add the server to your multiplayer list What does it say?
Flobby
FlobbyOP2y ago
Cant conect to server
Discount Milk
Discount Milk2y ago
Hmm Control panel > Network and sharing center Mind sending me a screen shot of that page?
Flobby
FlobbyOP2y ago
its in german but here u go
No description
Discount Milk
Discount Milk2y ago
Private is good Click "Change advanced sharing settings" Send a screenshot of that?
Flobby
FlobbyOP2y ago
No description
Flobby
FlobbyOP2y ago
No description
Discount Milk
Discount Milk2y ago
That also looks good. Hmmm No idea boss, I'm at a L
Flobby
FlobbyOP2y ago
thank you for trying tho appreciate it setting a server up on my win laptop ill update here if it works
QarthO
QarthO2y ago
Well the logs are recognizing ur connecting to ur MacBook Air
Discount Milk
Discount Milk2y ago
Could just be cached arp requests or something
QarthO
QarthO2y ago
So now im thinking it’s a firewall setting on ur mac
Discount Milk
Discount Milk2y ago
Actually Hold up ARP might be relevant Think DNS but for mac addresses. Close minecraft Open cmd as admin Run command netsh interface ipv4 delete neighbors This should flush your ARP cache. Start minecraft, try again
Flobby
FlobbyOP2y ago
I tried that, but sadly still no change i just realized that i cant see my Macbook in the Network Tab in File Epxlorer. I can see my other windows laptop fine. Is there a mac specific network setting i need to enable? Pinging the ip still works tho Update: Ive tested my Firewall extensively and im very sure its not the problem. Disabling the firewall completely on both devices didnt change anything. Its now either a network error (maybe AP isolation but i have no option to change that in my router interface) or something regarding minecraft itself. I can ping every device in the console and my Network tab in the file explorer shows my windows machines which i can access from there aswell. I tried reinstalling minecraft and minecraft server on both devices to test each other but no change. Last i tried disabling windows defender (i have no other antivirus) but that didnt change anything at all. I also tried reinstalling java jre and jdk with no change either Im at a loss now and ill just host my server on my active pc on which i can access the server with localhost and leave the old-device-server situation for another time. if anyone sees this here and has an idea ping me so i see it asap :) Update 2: I revisited the problem after ordering an Ethernet adapter and it works when both devices run over ethernet... The network connection itself is still exactly the same but i guess something is treated different over ethernet. Thank you everyone for your efforts!

Did you find this page helpful?