In this guide you will learn how to forward port for hosting session.
Before you start
MSCMP is using client-server UDP network model (instead of previously used P2P). That means to host the session you need to:
- ensure you have public IP,
- have forwarded port,
- allow all traffic through the firewall to the server.
The MSCMP session by default uses UDP port 7777. You can however change it if you want to any other valid port value. This guide will use 7777 as an example, if you change it make sure to use the correct port yourself.
If you don't know exactly how to enable static IP address, enable and then set port forwarding or you have any problem with these actions, please check your router's manuals before you ask a question.
How to ensure you have public IP address
- Open your browser.
- Go to “www.google.com”.
- Type in the search bar “what is my ip”. Search it.
- That’s your public IP address. Save it.
if there is a problem here
- Check your router settings.
How to have forwarded port
This step assumes your computer has fixed local IP, default setup is you are using dynamic IP that is assigned by the router once you start it, you have to set it up in the router so it is static before! To do this check your router’s documentation.
- Give to your computer static IP adress.
- Click the Windows button on your keyboard or open Start menu.
- Type in the search bar “cmd.exe”.
- When the command line starts up, type “ipconfig /all” and press enter.
- Save in notepad IPv4 Address, Subnet Mask, Default Gateway, DHCP Server.
- Log in to the router as administrator.
- Find the port forwarding options.
- When you find it, add a new option/rule. Type your IPv4 address, choose UDP protocol and type 7777 port. Save it.
- Turn on port forwarding if disabled.
How to allow all traffic through the firewall to the server
- Navigate to Control Panel > System and Security > Windows Firewall.
- Click Advanced settings.
- Select Inbound Rules and click New rule.
- Choose Port and click Next.
- Choose UDP and Specific local ports, write 7777 in the bar and click Next.
- Choose Allow the connection and click Next.
- Choose Domain, Private and Public. Hit Next.
- Name the new rule “MSCMP Port”, write a description if you want and hit Finish.
My friends still cannot join me after I do all steps from this guide, what to do?
It is possible, even if you do all these steps correctly it may still not work. That means there is still something blocking the connection between you and the friend. There are a few possible causes.
Your friend's firewall is blocking MSCMP connections
Ask them to make sure they also unblock it (the same way as mentioned in How to allow all traffic through the firewall to the server section above)
Your ISP is blocking the traffic
It is also possible that your ISP (Internet Service Provider) is blocking the connection. You have to contact them and ask for assistance with unblocking UDP server traffic at 7777 port.