# \[SOLVED\] ngrok tcp problem

**URL:** <https://onehack.st/t/solved-ngrok-tcp-problem/71581>\
**Category:** Tutorials & Methods\
**Tags:** solved, operating-system\
**Created:** [February 27, 2020, 8:45am UTC](https://onehack.st/t/solved-ngrok-tcp-problem/71581 "2020-02-27T08:45:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mafialive](https://onehack.st/user_avatar/onehack.st/mafialive/32/33196_2.png) [@mafialive](https://onehack.st/u/mafialive)\
**Post date:** [February 27, 2020, 8:45am UTC](https://onehack.st/t/solved-ngrok-tcp-problem/71581/1 "2020-02-27T08:45:17Z")

</div>

hi, i m newbie here for those things. I am using ngrok tcp details for metasploit payload. but little bit confuse if i restart my kali server then ngrok tcp details same and i got the access of victim’s ? i am testing metasploit by using ngrok tcp host:port setting. i already installed the payload on mobile emulator if i restart kali then i am able to access that infected mobile or not? is there any other tutorial method where i can use instead of ngrok which can not be change every time pc restart. thanks in advance sorry in advance if my queries is not in proper English ☹

---

<div class="post-metadata">

**Author:** ![Shayla](https://onehack.st/user_avatar/onehack.st/shayla/32/174870_2.png) [@Shayla](https://onehack.st/u/Shayla)\
**Post date:** [February 27, 2020, 3:50pm UTC](https://onehack.st/t/solved-ngrok-tcp-problem/71581/2 "2020-02-27T15:50:42Z")

</div>

The ngrok’s port always gets changed after a restart, and you payload becomes useless.

- Try **Serveo** , it provides facility to request a specific port and also you can request specific subdomain, so you don’t have to create a new payload everytime you start new ngrok session.
