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
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
are u using the internal ip from ifconfig
yes
Im connecting to my local macbook ipv4 with my windows machine
Are you connecting to 192.168.x.x?
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
so u can ping ur macbook from ur windows computer?
(not mc server, jus macbook)
yes
in ur server.properties
make sure ur serverip is left blank
yea i made sure its blank
try putting ur internal ip then
ill try
wont that lead to the issue of people outside the network not connecting?
assuming that i would work
sadly doesnt work
idk something is either really wonky, or ur just using ur wrong internal ip
there is only one so its hard to say
is it possible to have anything to do with ipv6?
no it shouldnt
on ur mac, go to apple menu -> system preferences -> network
is that the ipv4 ur using?
yes
and NOT ur routers
can u connect to it from ur macbook using localhost
yea theyre different nd im using the ipv4 adress
yes
so from ur windows pc, ur able to ping ur macbook using that ipv4 (the same ipv4 ur seeing in the system preferences)
yea
idk it should work
im getting response times from 2-600ms
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
hm
my only assumption is ur not typing the right ip
what macos version are u running?
maybe ill uninstall everything and just try again tomorrow
11.7.3 big sur
its a 2013 macbook air
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
yea i think ill try to reinstall everything on my mac
you shouldnt need to do that at all
its something with ur network
subnet is the same on both aswell
ill try and install the server on my windows laptop and see if the problem persists
if the problem persists on ur windows pc.. then u are 100% typing the wrong ip
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)
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
yea i thought so
but if it does, just always check before connecting
i just want to make sure
one question with ifconfig
im new to mac so im not sure
go to system preferences
to check ur ip
it shows me inet6 first
im assuming thats ipv6
well u can look at the ip format and see if its ipv4 or ipv6
on inet it says the ip im using for the connection. thats the one im supposed to use right?
ipv4 looks like :192.168.10.150
ipv6 looks like: 3002:0bd6:0000:0000:0000:ee00:0033:6778
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?
no keep it open
if u find a solution i'd like to know
alright!
cuz there might be some weird mac setting on older os
In windows
Is your network set to "public" or "private"
And what error are you getting when you try and connect?
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)
Nah don't disable the firewall
its just to test
but yes never keep ur firewall disabled
Ive tested it with the firewall disabled already
on the windows pc (not the macbook)
Yea
I tried on both
What exactly do you mean?
Google "How to set network to private in windows"
it is private
should i put it on public?
Private is good
?
1 sec, starting up again
What's the local IP of your server?
192.168.0.65
Alright go to multiplayer > direct connection > and put that number in
thats what that is
Make sure there's no space at the beginning or end
typed it again
still the same
The mac
Can you load a client on it?
wdym by client
A minecraft client
yea i have it isntalled
If you get on the Mac, try and connect to "localhost" all one word
ive tried that before and it worked
ill try again to make sure
Okay, after you try it again for me try and connect to
192.168.0.65
i got an timed out error message
now it worked
Doing localhost or 192.168.0.65?
localhost
first connection timed out, second worked
ill try the ip now
ip works
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.eh, i see timed out ALOT if you try joining too fast
even on popular servers such as hypixel
I ain't ever see a
connection timed out
when connecting to localhost
in the direct connect screen.ive connected about 15 times now and there wasnt a problem
yeah i see timeout all the time for the FIRST time when connecting to fast
both windows and mac (i use both)
I've never seen it while connecting to
localhost
i have (but only on windows, never ran a server on my mac)
either way its an connection error that probably doesnt have anything to do with minecraft at this point
^
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
id need to find my spare ehternet cable, might take a while
there is no ethernet port on the macbook...
:OMEGALULiguess:
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
average apple product
my windows laptop doesnt have one either...
lots of newer laptops have this too
yeah this isnt a mac specific issue
apple were just the first too mainstream t.
Question: in the console when the server starts up
one moment
Okay, the line that says "Starting minecraft server on"
What is there?
one sec, scuffed phone img incoming
lol
ok
yikes
sorry for that
IT's...
workable.
no clue how to screenshot on mac
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.
🙏
just for the tickles and grins of it
On another terminal window
do
ifconfig
and send the resultsimma jump if there is a different ip somewhere
No that looks good to me
mind sending your local client logs from when you tried to connect?
mind sending the entire log file
?
sure
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
latest.log
Requested by flobby#0
Mind using a brand new profile of minecraft?
Sorry, installation I guess they call it now.
yup, starting
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
latest.log
Requested by flobby#0
Hmmmm
If you add the server to your multiplayer list
What does it say?
Cant conect to server
Hmm
Control panel > Network and sharing center
Mind sending me a screen shot of that page?
its in german but here u go
Private is good
Click "Change advanced sharing settings"
Send a screenshot of that?
That also looks good.
Hmmm
No idea boss, I'm at a L
thank you for trying tho
appreciate it
setting a server up on my win laptop
ill update here if it works
Well the logs are recognizing ur connecting to ur MacBook Air
Could just be cached arp requests or something
So now im thinking it’s a firewall setting on ur mac
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 againI 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!