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 rayanjiffri · Jan 19, 2013 at 02:03 AM · networkportaddressipnat

Networking ?

IP adresses ?

how can I find mine so users can connect to me when I make a server on my computer. do I need anything other than the IP adress so users can connect to the host machine ?

any feedback appreciated !

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 sdgd · Jan 19, 2013 at 02:13 AM 0
Share

you can find your IP address at:

http://www.myipaddress.com/show-my-ip-address/

but I think that won't solve the problem

I have no knowledge in networking in Unity but I'm interested in this for future as I'll need same thing

2 Replies

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

Answer by eXtremeTY · Jan 19, 2013 at 03:19 AM

As sdgb pointer out, you can find IP address pretty easily, but the nightmare isn't over yet, LOL! I do have some experience in networking...well not from Unity standpoint, but more-so in general..

You have your computer and router, which assigns to you 2 IP addresses, rougly speaking, WAN IP and LAN IP.. LAN IP is your "internal" IP address that starts with 192.168.X.X usually, could be dynamic or static (if it's dynamic, it's not a big hassle to set it up to be a static, you just need to configure your settings so that dhcp doesn't generate a random IP and assigns to your PC on reboot), that's the IP you'd share if you'd make a LAN game..

WAN IP, is a different beast. It's your "external" IP, the IP the world outside can connect to and find you.. The problem is, you need to do port forwarding.. Basically, you need to configure router so when he gets traffic on your external IP, WAN IP, on specific port, to forward it to your "internal" ip, or LAN..

For all of this to work, it would be great if both the WAN IP and LAN IP be a static ones.. Like I said, you can easily reconfigure LAN IP to be a static (do a search on google "How to make my lan ip static"), but in order to make WAN IP static you'd either need to: a) buy a internet packed that includes static WAN IP b) use some sort of no-ip dns webservices that support this kind of thing for free.. You'd basically assign your IP to blablablagamehost.no-ip.org (for example), and then, each time your IP changes, you'd just change it, while keeping the blablablagamehost.no-ip.org the same, so the clients (or other users connecting to you) wouldn't need to do a thing..

On port forwarding section, you'll need to access your router, and every router is different.. See the manual for yours.. But it's usually http://192.168.0.1 (since that's the getaway IP most of the time) and the login will be admin/admin a good percent of the time if it wasn't modified in anyway...

Either way, it's going to be a hassle, don't expect an easy way around it.. Or maybe there is, I'm just not aware of it.. =)

Good luck!

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 sdgd · Jan 19, 2013 at 05:02 AM 0
Share

thanks for your share

avatar image rayanjiffri · Jan 20, 2013 at 02:23 PM 0
Share

Thanks. One more thing . $$anonymous$$aking my local IP static means that it will work like the static right ? Im done with this port forwarding :)

Thanks

avatar image eXtremeTY · Jan 20, 2013 at 05:51 PM 0
Share

Well yes, it basically means that when you restart your PC, it won't change, it'll be pinned to exact IP you assigned to it, for example, 192.168.0.100 or something.. :)

avatar image
0

Answer by whydoidoit · Jan 20, 2013 at 03:53 PM

You can use Unity's Master Server to register and discover servers on the network so people can find you.

You can also consider using PhotonNetworking in the Asset Store as this handles issues with NAT punch through on mobile devices etc.

Comment
Add comment · 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

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

12 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

Related Questions

Calling System.Net.Dns.GetHostEntry(sHostName) failed 0 Answers

How do I setup the Unity Network Connection Facilitator 0 Answers

Test if port is open on multiple IP Quickly ( List of Server ) 0 Answers

Connect to server over web 1 Answer

Using Unity Behind proxy 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