Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Guide: How to prepare your network setup for hosting session Sticky Locked

A topic by Eryk created Sep 15, 2020 Views: 2,378
This topic is locked
Viewing posts 1 to 3
(9 edits)

Hello!

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

  1. Open your browser.
  2. Go to “www.google.com”.
  3. Type in the search bar “what is my ip”. Search it.
  4. That’s your public IP address. Save it.

if there is a problem here

  1. Check your router settings.

How to have forwarded port

WARNING

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.

  1. Give to your computer static IP adress.
  2. Click the Windows button on your keyboard or open Start menu.
  3. Type in the search bar “cmd.exe”.
  4. When the command line starts up, type “ipconfig /all” and press enter.
  5. Save in notepad IPv4 Address, Subnet Mask, Default Gateway, DHCP Server.
  6. Log in to the router as administrator.
  7. Find the port forwarding options.
  8. When you find it, add a new option/rule. Type your IPv4 address, choose UDP protocol and type 7777 port. Save it.
  9. Turn on port forwarding if disabled.

How to allow all traffic through the firewall to the server

  1. Navigate to Control Panel > System and Security > Windows Firewall.
  2. Click Advanced settings.
  3. Select Inbound Rules and click New rule.
  4. Choose Port and click Next.
  5. Choose UDP and Specific local ports, write 7777 in the bar and click Next.
  6. Choose Allow the connection and click Next.
  7. Choose Domain, Private and Public. Hit Next.
  8. 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.

unlisted this topic
relisted this topic