# Find Sessions / Join Sessions by IP address

**URL:** <https://forums.unrealengine.com/t/find-sessions-join-sessions-by-ip-address/19027>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [January 16, 2015, 1:00pm UTC](https://forums.unrealengine.com/t/find-sessions-join-sessions-by-ip-address/19027 "2015-01-16T13:00:58Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Firezown](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Firezown](https://forums.unrealengine.com/u/Firezown)\
**Post date:** [January 17, 2015, 12:58am UTC](https://forums.unrealengine.com/t/find-sessions-join-sessions-by-ip-address/19027/5 "2015-01-17T00:58:09Z")

</div>

> [@shiftone;206584](#):
>
> Is it possible to connect to a server by providing an IP address and port from within game.
> 
> Im aware that this can be done via adding arguments to launcher shortcut but what about in game?
> 
> Thanks  
> Shiftone

I started something like this a while ago its not a full system its just the foundation. You could expand on it though. All it does right now is when you click “Host” it will host a game with your Ip. But when you click join it will ask you to enter an ip. Then it will take the text you typed and send it to an append which will be added to a console command to join the game of that ip. Like i said very basic but a good stepping stone :}. But Hey! It Works!.

1: Make a Widget Blueprint and name it Multiplayer.

![Host_join.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/7/47232d559e16378e2d7284ddbd7af12055b348f4.png)

2: Make a Host and Join Button inside that widget blueprint.

3: Rename both buttons and make a bind for both.

4: Make another new widget blueprint and name it Join.

5: Inside the Join Widget Blueprint make a Editable Text and a button.

![Host_join.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/4/fa4abf8747274f52ba0943217fd8aeb8c200fd5d.png)

6: Rename the editable text and at the top right make it a variable.

7: Set a bind for the button under the editable text.

8: Open the graph in the Join widget blueprint and copy the picture below.

Join Widget Blueprint: (The “Ip” variable is the editable textbox") Make sure you add a space after open in the append.

![Ip.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/f/1ff7630e17f400d666888e612455e28d80c129b0.png)

9: go back to the Multiplayer widget blueprint and open the graph.

10: on the Host button follow below.

Host Button:

![HostBtn.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/7/9765080eb0bce16f9326788ee9b2f72b65beb3cb.png)

11: on the Join Button.

 ![JoinBtn.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/f/5ff3b15a9028930baf27772ffdaca6cbfed753b1.png)

And that should be all you need to do. It will not work in the editor you will need to Package your project and open two versions of it on your desktop. Let me know if you have any further trouble.

---

_[View the full topic](https://forums.unrealengine.com/t/find-sessions-join-sessions-by-ip-address/19027)._
