Source control, firewall issue (perforce)

I and my partner are trying to use perforce as our source control for unreal engine, we are on the same network, but with different laptop, I followed the tutorial on youtube, but for some reason, when my partner try to connect from p4v to the server(which is my laptop), it said “wsaetimedout”, however when I turned my firewall off, my partner was able to connect to the server, can someone please help me to solve this issue? also I heard online that you only need to port forward if you are an external network, is it true?