About photon local server setting
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on Photon Server.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
About photon local server setting
tatiana
2021-12-16 09:13:42
Hello. Everyone .. current I am working unity photon project for UFE engine..
I am testing (Unity Fighting Enging) project using photon
I've installed this package to my project.
and I've download this photon server
Screenshot
Captured with Lightshot
and execute that with my ip 192.168.104.83
and in unity editor I've set photonsettings as like this
Screenshot
Captured with Lightshot
but project don't access to my local server.
how can I use this photon local server on my pc so that I can test that game for multimode?
Comments
hi, @tatiana
some of your screen shots does not work. However I can assume that you may have two issues:
Nameserver.json has localhost as master server address. it should be updated
in GameServer.xml.config should be updated two settings PublicIpAddress and if you are using ws/wss PublicHostName.
Also if GS and MS are on different machines you have to set master server address in GameServer.xml.config
best
ilya
Hello. ilya.. thank you for your reply.
and sorry for my miss items for webGL.
Current I am testing webGL build.. on my think, this photon sdk don't provide webGL building on local.
anyway let me try your suggestion.. :)
Hi @tatiana,
Thank you for choosing Photon!
You are using Photon Server v4, we recommend using Photon Server v5.
WebGL requires WebSocketSecure connections from client.
So you need to setup WSS listeners and especially secure TLS/SSL certificate (self-signed locally for development). Here is how to do it in v4 and how to do it in v5.
For PUN2, here is how to connect to v4 and how to connect in v5.
Back to top