Closed EdoardoSnodato closed 2 months ago
Hi!
First question, are you gonna use https://pwallet.app or are you gonna self-host the UI? If https://pwallet.app then follow those steps according to that scenario.
https://pwallet.app Scenario There is a couple of issues with this setup but they can be fixed.
Is your PC an always running machine connected to internet?
Go to https://pwallet.app and in settings enter your WAN ip ( get it from https://whatsmyip.com/ ) and the password from your phoenix.conf
Self-hosting pWallet If you self-host pwallet on the same machine as your phoenix server, then the IP can be localhost:port-of-phoenix-server and password is still the one in phoenix.conf
But to reach the UI outside your LAN you need to expose the UI in the same way as above scenario for phoenix server. the UI when you self-host it runs on port 2291
So simplified and i assume you are gonna use https://pwallet.app
http-bind-ip=192.168.X.XX <-- CHANGE THIS TO YOUR COMPUTERS LAN IP
http-bind-port=2121 <--- CHANGE THIS TO YOUR DESIRED PORT
http-password=abc123abc123abc123abc123 <---- THIS IS YOUR PASSWORD GENERATED BY PHOENIX SERVER
Then it should work!
Question: Phoenixd use port 9740 ?
If you havent changed any settings from default then it uses 9740 If you run debian, make sure you open port 9740 in UFW and also point that port in your router to your pc.
i need study this points, i'm poor on networking
It would have been simple, if pwallet allowed connection to Local Lan Machines
If you want that, then you need to self-host it. Then it works over LAN.
But if you wanna reach the UI over imternet you need to open port 2291 in router. But the communication between UI and Phoenix Server can still be LAN.
But to be clear, then you don't use pwallet.app, you use your own session of the same code. pwallet.app can't reach all users LAN servers since it's hosted online and not your LAN.
And another to be clear, to reach your session you reach it through your WAN ip or pointing a domain to your WAN ip.
I want connect my smartphone (using Phoenixd-Server-Ui) to my pc phoenixd Both devices are connected on local network. How to edit phoenix.conf on my pc ?