# Game Mode port number changed

**URL:** <https://forum.developer.lovense.com/t/game-mode-port-number-changed/137>\
**Category:** Standard Solutions\
**Created:** [October 24, 2023, 8:38am UTC](https://forum.developer.lovense.com/t/game-mode-port-number-changed/137 "2023-10-24T08:38:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erotobotics](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.developer.lovense.com/erotobotics/32/25_2.png) [@Erotobotics](https://forum.developer.lovense.com/u/Erotobotics)\
**Post date:** [October 24, 2023, 8:38am UTC](https://forum.developer.lovense.com/t/game-mode-port-number-changed/137/1 "2023-10-24T08:38:11Z")

</div>

The http port number for game mode (LAN) was **20010** , but after an update to the lovense mobile phone app, It’s changed to **34567**

So, is 34567 the new port number for everyone, or is this a semi-randomised number that my app has created for me?

I ask because I like to save the user a lot of pain by just scanning the local network for devices rather than trying to ask the average user to type in IP/Port numbers.

Is my scanning idea now a bust because of randomised ports, is there a range of ports I can scan?

So I guess I’m asking a question to the community, is your port number the same?

And a question to Lovense, can this port number be relied upon, now and into the future or do you expect users to have to enter IP/Port numbers to use local game mode?

---

<div class="post-metadata">

**Author:** ![codeDudexRed](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@codeDudexRed](https://forum.developer.lovense.com/u/codeDudexRed)\
**Post date:** [November 13, 2023, 7:26am UTC](https://forum.developer.lovense.com/t/game-mode-port-number-changed/137/2 "2023-11-13T07:26:43Z")

</div>

It seems that with the latest app update(version 6.4.8 for Android, and 6.3.6 for iOS[although not sure whether this issue was also in iOS application]) HTTP port number for game mode(LAN) is set back to port **20010**.

---

<div class="post-metadata">

**Author:** ![Byteinator](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@Byteinator](https://forum.developer.lovense.com/u/Byteinator)\
**Post date:** [December 12, 2023, 2:57am UTC](https://forum.developer.lovense.com/t/game-mode-port-number-changed/137/3 "2023-12-12T02:57:31Z")

</div>

The port will eventually move to 40010-40019 and 50010-50019 next year and hard coding the port for the offline pathway will no longer be a proper solution for that. It is highly recommended that reading the response from the v2 API and get the httpPort and httpsPort in the future update.  
Another solution is to cycle through ports x0010 to x0019 by itself.

---

<div class="post-metadata">

**Author:** ![mrbjones87](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@mrbjones87](https://forum.developer.lovense.com/u/mrbjones87)\
**Post date:** [February 1, 2024, 8:52pm UTC](https://forum.developer.lovense.com/t/game-mode-port-number-changed/137/4 "2024-02-01T20:52:41Z")

</div>

Can you teach me how to do all this I brand-new this stuff and would like to learn it

---

<div class="post-metadata">

**Author:** ![Lat3xKitty](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.developer.lovense.com/lat3xkitty/32/18_2.png) [@Lat3xKitty](https://forum.developer.lovense.com/u/Lat3xKitty)\
**Post date:** [February 17, 2024, 5:08pm UTC](https://forum.developer.lovense.com/t/game-mode-port-number-changed/137/5 "2024-02-17T17:08:28Z")

</div>

We can’t teach you everything. 😅

However I recommend joining the Lovense Developer Server where we can definitely give you a lot of tips for learning how to get into coding and tips and tricks for starting out with the Lovense API
