Connect octopi webbrowser

hello,
i am new to octoprint and raspberry. i tried connecting to the pi via octopi.local but it doesnt work in chrome and edge but when i tried it on the macbook of my brother (in chrome) everything does work. i tried to find the problem but i couldn't get any further on the other topics so can any body help me with my problem?

Try reading this. It's about DNS and name resolution.