No, just make sure you're connected via wifi and the ip and password are correct. Sudo is not necessary, I'll correct that. Make sure your router doesn't somehow block the connection. If nothing works add your phone's and your pc's ip to port forwarding in the router's menu and specify the open ports too!