Host and other about Photon Server
Options
redskry
✭
(Sorry for my bad english!)
Hi everybody, i have some question about "Photon server" for my Android Game
I don't understand how it's work after read all the documentation ..
I want to use Photon server for a MMORPG but i don't know how begin with photon server ..
I have to Host it on a rent server ? I don't want to use my computer to host it, i want my server "safe" away my connection ^^'
I download the server v4.0.29.11263.exe from photon and after ? .. I'm lost ^^"
It's not about scripts conenction , just how to set up my server ^^
Have a good day !
Quentin
Hi everybody, i have some question about "Photon server" for my Android Game
I don't understand how it's work after read all the documentation ..
I want to use Photon server for a MMORPG but i don't know how begin with photon server ..
I have to Host it on a rent server ? I don't want to use my computer to host it, i want my server "safe" away my connection ^^'
I download the server v4.0.29.11263.exe from photon and after ? .. I'm lost ^^"
It's not about scripts conenction , just how to set up my server ^^
Have a good day !
Quentin
0
Comments
-
Hi,
to setup Photon please start with https://doc.photonengine.com/en-us/onpremise/current/getting-started/photon-server-intro and https://doc.photonengine.com/en-us/onpremise/current/getting-started/photon-server-in-5min
For Photon Server you have to host, yes. See requirements.0 -
Thx for youre reply !! I sucess to set up my loadbalance on azur with IPV6 ect...
EDIT: Just one question, i have to forward my port ? even if i have IPV6?
I follow the instruction to set up IPV6 on photon Config ect...
Is it normal to don't write anywhere my IPV6 adress ? I just have to put it in inspector of unity config ?
If someone want to know how to set up it : https://docs.microsoft.com/fr-fr/azure/load-balancer/load-balancer-ipv6-overview
without that it's impossible to know how to do that
0 -
Hello,
did you follow our instructions on this doc page? https://doc.photonengine.com/en/onpremise/current/operations/ipv6
I'm not sure if I get you right where exactly you want to forward ports. Can you point me to a doc?
Let us know what issues exactly you experience. You can also send us your config- and log files to developer@photonengine.com, so we can review them.0 -
Hello! Yes i follow all the step of the doc
I use Azur machine , set up With IPV6,
-So I install NET + photon server V4 on the VM
-I edit "Photon.LoadBalancing.dll.config" and add copy/past the setting the right place
-Add IPAddressIPv6="::" to each xListener in "PhotonServer.config" , I did it!
- set PublicIPAddressIPv6 to "::1" , did it too!
-then, i start the server in my VM
- I launch Unity , eddit the server config in the inspector to set "Self Host", port 5055, and add my IPV6.
I create a empty Object and add a script:
and when i start unity i have :Failed parsing address: XXXX:XXX:XXXX:XXXX::XXXX:XXXX:5055
UnityEngine.Debug:LogError(Object)
NetworkingPeer:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1495)
ExitGames.Client.Photon.IPhotonSocket:Connect()
ExitGames.Client.Photon.SocketUdp:Connect()
Sorry again for my bad english
Within talk about unity inspector, i don't have to enter my IPV6 Somewhere ?
And thanks to helping me ! i really appreciate!
0 -
What server adress ? I use IPV6 public with this format : XXXX:XXX:XXXX:XXXX::XXXX:XXXX
I use 5055 Port ^^
Removing the port ?
0 -
try the following:XXXX:XXX:XXXX:XXXX::XXXX:XXXX::[5055]0
-
I did it previsoulsy
"Failed parsing address: XXXX:XXX:XXXX:XXXX::XXXX:XXXX:5055"0 -
And in Ipconfig server, i setup "Public automatcly"0
-
Did you make sure to use double colons (
::
) and brackets around the port number ([]
)?
Address should end in::[5055]
.0 -
I put it in the same place that the IP ?
Or I Just add double colon after IPV6 and the bracket in the "port" section ? ^^'0 -
So! i sucess to use Photon server but juste with Public IP static
Unity say "Joined Lobby" so i suppose that is a good news for me !
But ... i have a error message in unity that say :
Operation failed: OperationResponse 229: ReturnCode: -2 (Unknown operation code). Parameters: {} Server: MasterServer
>> EDIT ; no error message, i change the port because i have try a lot of things and i forget to put 5055 again
Thx for you're help!0