x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Join Session over LAN

Using the MultiplayerShootout example, I can't play over LAN. It simply doesn't find the sessions? Pretty sure some setting somewhere is blocking it, but I can't figure out what.

Tried with opening the firewall on both PCs and the router at port 7777, as stated around here on other posts. Still doesn't work...

Product Version: Not Selected
Tags:
more ▼

asked Mar 17 '15 at 09:32 PM in Blueprint Scripting

avatar image

Spoki0
30 5 6 7

avatar image Spiris Mar 17 '15 at 11:11 PM

I am not entirely sure how the UE4 LAN framework works, but I would recommend connecting to your listen server by using the 'open IPaddress' console command if nothing else works.

avatar image Spoki0 Mar 17 '15 at 11:25 PM

Given that they have blueprint for Creating and Joining sessions, with a boolean for LAN, it should work. I can get it to work locally, launching several games on my computer and they find and connect to each other.

avatar image bpeck Mar 17 '15 at 11:40 PM

Host matches broadcast their session info to other machines on the LAN by sending packets to your LAN's subnet. I would check to see that this broadcast packet is not getting blocked, and confirm that your machines are on the same subnet, which they probably would be if they are hooked into the same router.

See Unreal\Engine\Source\Runtime\Online\OnlineSubsystem\Private\LANBeacon.cpp::FLANSession::Host function

Edit:

Also, just saw this at the top of LANBeacon.h:

 #define LAN_ANNOUNCE_PORT 14001

So try opening up that port as well. Cheers

avatar image Spoki0 Mar 19 '15 at 11:16 AM

It seems like a hassle if you have to manually open several ports in order to play a game over LAN.

avatar image bpeck Mar 19 '15 at 04:59 PM

Routers gonna route. I'm curious if opening the port worked for you?

avatar image Spoki0 Mar 19 '15 at 05:12 PM

I haven't had the possibility to test it yet, other guy left for the weekend.

avatar image kornel.l.varga Aug 09 '16 at 06:12 PM

gosh thats a long weekend.. could you solve it? I am trying to connect from phone to PC via Wifi. My setup works with an adHoc network created on PC, but not with router's. Is it a router setup issue?

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question