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 iamsteele · Jul 27, 2014 at 02:45 PM · masterserverulink

Server Appears in MasterServer for me, but not friend

I am hosting a server on my local machine using Ulink and Ulink MasterServer.. the server appears in the list and I can connect to it just fine using any computer at my house, I have not yet been able to test connecting to it from outside my region, but I did have a friend across the country attempt to connect using the same exact build of my client. He was able to connect and poll the master server, but never saw my game server appear in the list.

The master server is hosted on an Amazon EC2 instance located in virginia, I am in ohio, and my friend is in Arizona. I can see on the master server that his IP address connects successfully, and then requests the host list. I can see that I connect successfully, and request the host list. My server appears on my screen, and does not appear on his.

I checked the documentation at muchdifferent.com and was unable to ascertain whether or not the master server is, for some reason, not sending the information due to some port issue on his end (as near as I can tell, that is not the case, but I'm not ruling it out entirely yet) or if the master server simply sends the client the server IP address and then the client gathers to information itself based on the IP address of the game server, to which perhaps he is unable to connect because my game server is hosted on a private network? He is able to ping the master server, he is able to connect to the master server, and the master server says that he is requesting the host list...

where should I go from here in debugging this issue? any tips?

Comment
Add comment · Show 5
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 thornekey · Jul 27, 2014 at 02:50 PM 1
Share

Have you enabled NATpunchthrough for clients to connect to closed port servers? or are your servers open? Regardless, I always attempt a NATpunchthrough. Works every time for me...

avatar image iamsteele · Jul 27, 2014 at 02:52 PM 0
Share

I have not, can you elaborate or post a link to more information on the subject? I haven't had any connection issues from any computer in my own home, connecting to the master server in virginia, and then connecting to the server that is hosted within my own home... so I haven't looked into anything NAT related

avatar image thornekey · Jul 27, 2014 at 03:00 PM 0
Share

Exactly. You will not find any issues on the same network. Because YOURE ON THE SA$$anonymous$$E NETWOR$$anonymous$$ ( ;) ).. so you wont be blocked by firewalls or closed ports. Have you opened up any ports? You dont have to if you do the NAT punchthrough. Give me a few $$anonymous$$utes to look through some old files for you. I have a few things on it.

avatar image thornekey · Jul 27, 2014 at 03:06 PM 1
Share

Ok, so what i have found from my old files. And just to clarify if you have not done so yet.. $$anonymous$$ake sure you register your game to the master server, if you have not done it, do so. When attempting to connect to your game list, your client must request the said game you registered...

try some things like

 Network.natFacilitatorIP = the master server ip;
 Network.natFacilitatorPort = the master server port;

(whatever the ip is.. you can find it by going

 Debug.Log($$anonymous$$asterServer.ipAddress + ":" + $$anonymous$$asterServer.port);

read this too. http://docs.unity3d.com/$$anonymous$$anual/net-$$anonymous$$asterServer.html

search for NAT on the page.

avatar image iamsteele · Jul 27, 2014 at 07:33 PM 0
Share

Ah, that's why I hadn't seen it yet.. Ulink $$anonymous$$asterServer does not include NAT punchthrough.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by iamsteele · Jul 27, 2014 at 11:37 PM

After forwarding ports and turning off windows firewall, Ulink master server still supplies the Internal IP address of a server when it registers, even though it can clearly see the public IP address the server provided when registering. So far as I can tell, the only way to have a server work is for that server to be run on a machine with a public IP address.

Comment
Add comment · Show 1 · 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 thornekey · Jul 30, 2014 at 01:50 AM 0
Share

yay good job

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

24 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

what is the default masterserver's IP and port? can we use it for commercial games? 3 Answers

Unhandled message 65 from local ip. 0 Answers

StandAlone Server with SQL database for all clients 1 Answer

000webhost master server 0 Answers

Failed To Connect to my own Master Server 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