Troubleshooting
Running into issues with your server or client? This guide covers common problems and their solutions.
Server Connection Issues
"Failed to connect to server. Are you sure it is up?"
If you're experiencing this error message, it's usually related to firewall or port configuration issues.
Solution:
Make sure that both ports are open in your firewall:
- Port
7777(or whatever port you set in your config as theportfield) - Port
7778(or your configured port + 1)
The server uses two ports:
- The main port (default 7777) for player connections
- Port + 1 (default 7778) for the HTTP server that serves server information and mods
To check if your ports are open:
-
Windows Firewall:
- Open Windows Defender Firewall
- Click "Advanced settings"
- Create inbound rules for both TCP ports (your port and port+1)
-
Linux (iptables/ufw):
# For ufw
sudo ufw allow 7777/tcp
sudo ufw allow 7778/tcp
# For iptables
sudo iptables -A INPUT -p tcp --dport 7777 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 7778 -j ACCEPT -
Router/Network Configuration:
- If you're hosting from home, make sure your router forwards both ports to your server's local IP address
- Check that your ISP isn't blocking these ports
-
Cloud Hosting:
- Verify that your cloud provider's security groups/firewall rules allow both ports
- Some providers require you to explicitly open ports in their control panel
If you've changed your server's port in config.json, remember to open both the new port AND port+1. For example, if your server uses port 8888, you'll need to open ports 8888 and 8889.
"Invalid address. IPv6 is not supported"
If you see this error message, it means your machine is using IPv6, but JC4MP servers require IPv4 connectivity. You'll need to configure your system or network to use IPv4.
Solution:
JC4MP servers only support IPv4 addresses. Here are common ways to resolve this issue:
For Linux Cloud Hosting
If you're hosting on a cloud provider (AWS, DigitalOcean, Linode, etc.):
Reserve a Public IPv4 Address
- Most cloud providers assign IPv6 by default or require you to explicitly request an IPv4 address
- In your cloud provider's control panel, look for networking settings
- Request or allocate a public IPv4 address for your server instance
- Make sure your server is binding to the IPv4 address (usually
0.0.0.0or your specific IPv4 address)
For Home/Residential Setup
If you're hosting from home:
-
Check Router Settings
- Log into your router's admin panel (usually
192.168.1.1or192.168.0.1) - Look for IPv6 settings and disable IPv6 if it's causing issues
- Ensure your router is forwarding IPv4 traffic properly
- Log into your router's admin panel (usually
-
Update Port Forwarding
- Make sure your router's port forwarding rules are configured for IPv4
- Verify that your server's local IPv4 address is being used (not IPv6)
-
ISP Configuration
- Some ISPs may provide IPv6-only connections
- Contact your ISP to request IPv4 connectivity or a dual-stack connection
- You may need to request a static IPv4 address
For Windows Servers
-
Disable IPv6 (if needed)
- Open Network and Sharing Center
- Go to your network adapter properties
- Uncheck "Internet Protocol Version 6 (TCP/IPv6)"
- Restart your network adapter
-
Verify IPv4 Binding
- Ensure your server is binding to IPv4 addresses (check your server configuration)
Testing Your Configuration
To verify you're using IPv4:
# Check your IP address (should show IPv4)
ip addr show # Linux
ipconfig # Windows
# Test connectivity using IPv4
ping -4 google.com # Linux
ping -4 google.com # Windows (PowerShell)
JC4MP currently only supports IPv4. If you're on an IPv6-only network, you'll need to configure IPv4 connectivity or use a tunnel service that provides IPv4 access.
Other Common Issues
Server Not Appearing in Server List
If your server isn't showing up in the JC4MP server list:
- Check your
announcefield - Make sure it's set totruein yourconfig.json - Verify your server key - Ensure you have a valid
keyfrom the JC4MP Server Dashboard - Check your
update_url- Should be set tohttps://servers.jc4mp.com/api/v1/servers - Wait a few moments - Server list updates may take a few moments to propagate
Version Mismatch Errors
If players can't connect and see version mismatch errors:
- Server version must match client version exactly
- Make sure both your server and clients are using the latest version
- Check the Servers page to ensure you have the latest server build
Authentication Issues
If players are having trouble authenticating:
- Verify your Steam Web API Key - Make sure your
steam_web_api_keyinconfig.jsonis valid - Check Steam API Status - Visit Steam's API status page to ensure Steam services are operational
- Regenerate your API key - If issues persist, try generating a new Steam Web API key from Steam's Web API Key page
Connecting Directly via IP
If your server isn't appearing in the server list, or if you want to connect quickly, you can connect directly using the IP address:
How to connect:
- Open the JC4MP launcher
- Type the server's IP address at the top of the launcher (include the port if not using default 7777, e.g.,
192.168.1.100:7777) - Press Enter to connect
For local servers: If you're hosting locally at home and want to connect from the same machine:
- Use
localhost(or127.0.0.1) to connect to your local server - Or find your local IP address:
- Windows: Open Command Prompt and run
ipconfig- look for "IPv4 Address" under your network adapter - Linux/Mac: Open Terminal and run
ifconfigorip addr show- look for your local IP (usually starts with192.168.or10.)
- Windows: Open Command Prompt and run
Example: If your local IP is 192.168.1.100, type 192.168.1.100:7777 in the launcher to connect.
Need more help? Check out our other guides or visit the JC4MP Discord for community support!