Hi. I have been trying to get multilayer working for a couple of days now, I can host but other players cannot never find my server. I have even tried the shootout demo and same there i can host but my friends cannot join. My PC is in DMZ mode and port 7777 is open but still no luck
Hi there,
In case you havent got it working there are few things
On your router : Create / Open port for 7777 some routers may want to assign it to IP address ( that would be your pc’s IP ) You can find it via IPCONFIG
In case you have firewall on that may block many applications ports - Make sure you open it as well and allow all
Then when you call on " Create session " the last option ( bool ) Use Lan? leave it untick to set it false - you want to set it as use public - so if ticked it will be lan only.
When you can " Open level " you have the level name and option " make sure it has " “” ?listen “”
Lastly - get your friend to run the game and open the console and type open YOURIPADDRESS:7777
Your outside IP address = do google for whats my IP.
Hope it helps.
yeah tried all that. can never find server/friend even when in DMZ mode, am just a little lost on where to start integrating it.
its a virgin media modem in dmz mode. firewall anti virus is not installed on the dev computer
I have virgin media - okay - When you create port forwarding is it set to the right IP? Which would be the dev computer. [ Or the one that will host the game ]
What OS do you have on that machine? - firewall will be installed either way. That assumption you are running Windows.
What Anti Virus and Router you have? Rebooted the router once the port was opened.
Turn windows firewall off , turn anti virus firewall off or disable it
router disable DMZ zone - is the port opened correctly?
Not sure what else, as I can’t see the code and your system.
i have windows 8.1 IP is correct for ports. I have just found out some more information about mp servers
Servers can only be found if you are using LAN or have a Subsystem active. So for example Steam.
If you want to have Online Servers for your game without using a Subsystem, than you would either need to stick to
tradinational "give me your ip" connections, or you would need to script a master server. But that is not really UE4
related it guess.
For replication you can look into the official unreal engine tutorials about networking.
And for server things you could have a look at the ShooterGame. There are all functions in use.
Although i guess the ShooterGame is quite complex. There isn't much more for networking.
Opening a listen server and joinen it can be found by searching google.
So this will be what i will be looking into now. I will keep this post updated might take a while unless you know more about this?