Network Configuration
The Spacemesh App (Smapp) should work on most home broadband Internet connections without a need to manually configure your network or firewall. If you see a network connection error in the App then try following the steps described below to resolve this issue.
Overview
In order to participate in the Spacemesh network and to earn smeshing rewards your network and computer firewall (and in some cases your home network router) needs to be configured, so the App is able to accept incoming Internet connections on port 7153
for both TCP
and UDP
.
The App attempts to automatically configure your network using UPnP so in most cases you do not need to manually configure your network to support Spacemesh.
Computer Clock Configuration
Please make sure that your computer clock is synced to a time server such as time.windows.com
or time.apple.com
. You must be synced to NTP time to be able to connect to the Spacemesh network.
Verify you are synced with an NTP server using your computer's
Date & Time
settings.
Windows 10
Security Alert on first run
You may see a Windows security alert when you launch the App for the first time. Check the checkbox 'Private networks' and click 'Allow access'.
If you didn't click on Allow access
when prompted by Windows, you may need to manually permit the App to receive connections from the internet on TCP port 7153 and on UDP port 7153.
Follow these instructions to configure incoming connections rules for these two ports.
TCP Port 7153 Rule
- Type
Firewall
in your Windows task bar search box. - Open the
Windows Defender Firewall
app from the search results. - Click on
Advanced settings
. - Right-click
Inbound Rules
and selectNew Rule...
. - Select
Port
for the new rule type and clickNext
. - Select
TCP
and, enter7153
in theSpecific local ports
text box clickNext
. - Select
Allow the connection
in the next screen and clickNext
. - Don't change the default options in the
Apply Rule
screen and clickNext
. - Name the rule
Spacemesh TCP
and click Finish.
UDP Port 7153 Rule
- Type
Firewall
in your Windows task bar search box. - Open the
Windows Defender Firewall
app from the search results. - Click on
Advanced settings
. - Right-click
Inbound Rules
and selectNew Rule...
. - Select
Port
for the new rule type and clickNext
. - Select
UDP
and, enter7153
in theSpecific local ports
text box clickNext
. - Select
Allow the connection
in the next screen and clickNext
. - Don't change the default options in the
Apply Rule
screen and clickNext
. - Name the rule
Spacemesh UDP
and click Finish.
OS X
The App may be able to accept incoming connections by default depending on your Firewall settings. For example, when you download a signed app distribution from Spacemesh.
Follow these steps if you see a connection error status displayed in the App.
- Open the
System Preferences App
. - Click on
Privacy and Security
. - Click on the
Firewall
tab. - Click the
Firewall Options
button. - Uncheck the
Block all incoming connections
checkbox if it is checked. - Check the
Automatically allow downloaded signed software to receive incoming connections
checkbox OR add theSpacemesh App
to the list of apps and choseAllow incoming connections
for it. - Click OK.
For additional information about the OS X Firewall please read this guide from Apple.
Linux
If you are running Linux then you should be able to configure your firewall via the command line. Check your linux distribution documentation for additional info.
Router Configuration
Your home router or Internet access point (or both) may be blocking the App from receiving data from the network. The App attempts to automatically configure your router using UPnP so in most cases you do not need to manually configure your router.
If you still can't connect to the p2p network then you need to configure your router to forward both UDP and TCP incoming network traffic on port 7153 to the computer that you are running the App on.
To configure your router follow the instructions provided by your router hardware maker for your router model.