# \[EOS\] create session cannot be fine on portal and not able to join session.

**URL:** <https://forums.unrealengine.com/t/eos-create-session-cannot-be-fine-on-portal-and-not-able-to-join-session/2665950>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, EOS, CPP, question, fortnite\
**Created:** [October 16, 2025, 3:08pm UTC](https://forums.unrealengine.com/t/eos-create-session-cannot-be-fine-on-portal-and-not-able-to-join-session/2665950 "2025-10-16T15:08:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prabhdeep132](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prabhdeep132](https://forums.unrealengine.com/u/Prabhdeep132)\
**Post date:** [October 16, 2025, 3:08pm UTC](https://forums.unrealengine.com/t/eos-create-session-cannot-be-fine-on-portal-and-not-able-to-join-session/2665950/1 "2025-10-16T15:08:10Z")

</div>

```C++

void UMultiplayerSessionSubsytem::CreateSession(int32 NumPublicConnection, FString MatchType)

{

```
if (!SessionInterface.IsValid()) return;

auto ExistingSession = SessionInterface->GetNamedSession(SEARCH_KEYWORDS);

if (ExistingSession != nullptr)

{

    bCreateSessionOnDestroy = true;

    LastNumPublicConnections = NumPublicConnection;

    LastMatchType = MatchType;

    DestroySession();

}

// Store the delegate in FDelegateHandle so later can be removed from delegate list

CreateSessionsCompleteDelegateHandle = SessionInterface->AddOnCreateSessionCompleteDelegate_Handle(CreateSessionsCompleteDelegate);

LastSessionSettings = MakeShareable(new FOnlineSessionSettings);

LastSessionSettings->bIsLANMatch = IOnlineSubsystem::Get()->GetSubsystemName() == "NULL" ? true : false;

LastSessionSettings->NumPublicConnections = NumPublicConnection;

LastSessionSettings->bAllowJoinInProgress = true;

LastSessionSettings->bAllowJoinViaPresence = true;

LastSessionSettings->bAllowInvites = true;

LastSessionSettings->bShouldAdvertise = true;

LastSessionSettings->bUsesPresence = true;

LastSessionSettings->bUseLobbiesIfAvailable = true;

LastSessionSettings->Set(FName("MatchType"), MatchType, EOnlineDataAdvertisementType::ViaOnlineService);

const ULocalPlayer\* LocalPlayer = GetWorld()->GetFirstLocalPlayerFromController();

if (!SessionInterface->CreateSession(\*LocalPlayer->GetPreferredUniqueNetId(), SEARCH_KEYWORDS, \*LastSessionSettings))

{

    SessionInterface->ClearOnCreateSessionCompleteDelegate_Handle(CreateSessionsCompleteDelegateHandle);

    // Broadcast our own custom delegate

    MultiplayerOnCreateSessionComplete.Broadcast(false);

}

```

}

```

I cannot find the session in lobbies and session port. Can somebody please help?

 ![Screenshot_2025-10-16_111930](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/9/e897b9ec2b9c46d7c45aebbb721c67420b7b8655.png)
