Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by benk0913 · Feb 01, 2013 at 03:15 PM · networkphotonserverclientlocal

Photon - Lan?

Help me, please. I have downloaded the photon server sdk and got it launched with loadBalancing. Its configured to my local IP. I have made a client to it with unity and it connects just fine to the photon server. But for some reason when I place my client in an other computer over my local network it wont connect. The client which is placed on the main computer with the photon server is at the same build as the one on the other computer.

What did I do wrong?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · Feb 01, 2013 at 03:20 PM 0
Share

So what is your "local IP"? hopefully not 127.0.0.1? To which server IP do you connect?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Dreamora · Feb 01, 2013 at 03:27 PM

You did not update the GameServer configurations. By default they are set to 127.0.0.1 If set like that, only the same computer can access it.

You need to set the IP to the external IP that contains the address at which it is reachable for the target audience (the LAN IP for in-lan connection or the external IP for external access) you also need to update the client to use your machines network address as 127.0.0.1 will no longer work.

This is covered in the documentation though hidden a bit

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image benk0913 · Feb 04, 2013 at 03:51 PM 0
Share

The ip for all of the clients is my main computers ip (The one which runs the photon on loadbalancing)

avatar image Dreamora · Feb 04, 2013 at 04:23 PM 1
Share

You must also update GameServer1 config and GameServer2 config in Photon. They are by default set to 127.0.0.1 and as such only accept connections on this IP (this holds for whatever you put in there)

avatar image benk0913 · Feb 06, 2013 at 01:00 PM 0
Share

Did so, still other computers wont connect. I think it's something with my computer.. It happends lately to not host any lan rooms \ servers for any game..

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Photon.Instantiate being called twice in OnloadedLevel and/or OnroomJoin 2 Answers

Download pictures and store them temporarily 1 Answer

Server & client on same wifi, error 1 Answer

Can you tell OnSerializeNetworkView who the owner is? 3 Answers

Get RPC senders ID, or IP? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges