Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
438 posts

Ultimate Geek
+1 received by user: 123

Subscriber

  Reply # 449144 17-Mar-2011 10:00
Send private message

looloo1:
hashbrown:
looloo1: Oh ok... I'll try from an internet cafe or something. Thnx


There's no need.  There are a number of services that will check if you have a port open.

Try http://www.canyouseeme.org/ 


Well, I tried three times but they got refused... Any other suggestions?


Were you running a minecraft server when you did the test?  If not start the server and try again.

 



11 posts

Geek


  Reply # 449330 17-Mar-2011 18:57
Send private message

hashbrown:
looloo1:
hashbrown:
looloo1: Oh ok... I'll try from an internet cafe or something. Thnx


There's no need.  There are a number of services that will check if you have a port open.

Try http://www.canyouseeme.org/ 


Well, I tried three times but they got refused... Any other suggestions?


Were you running a minecraft server when you did the test?  If not start the server and try again.

 


Tried opening Minecraft_Server.exe with all my options set (including my ip address) and it said this:

[INFO] Starting minecraft server version Beta 1.3
[INFO] Loading properties
[INFO] Starting Minecraft server on [my external ip]:25565
[WARNING] **** FAILED TO BIND TO PORT!
[WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
[WARNING] Perhaps a server is already running on that port?
And YEAH, there isnt another server or program using the same port...


Even after it said that I tried the port on canyouseeme.org and failed... AGAIN

 
 
 
 


438 posts

Ultimate Geek
+1 received by user: 123

Subscriber

  Reply # 449415 17-Mar-2011 22:52
Send private message


[INFO] Starting Minecraft server on [my external ip]:25565
[WARNING] **** FAILED TO BIND TO PORT!
[WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
And YEAH, there isnt another server or program using the same port...


You can't bind a port to your external IP from your server. Either leave out the IP address in the options or specify the IP address of your servers LAN port (10.1.1.x or 192.168.1.x or whatever).



11 posts

Geek


  Reply # 449508 18-Mar-2011 10:38
Send private message

hashbrown:
[INFO] Starting Minecraft server on [my external ip]:25565
[WARNING] **** FAILED TO BIND TO PORT!
[WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
And YEAH, there isnt another server or program using the same port...


You can't bind a port to your external IP from your server. Either leave out the IP address in the options or specify the IP address of your servers LAN port (10.1.1.x or 192.168.1.x or whatever).


1. I dont think I put my 'external' ip on... I put in my ip from http://www.whatismyip.com/ (I have no idea       what that type of ip address is)

2. I'll try that, but usually when I try with my 192.168.1.x ip it only directs to local... So no one out of my         network can play on the server

438 posts

Ultimate Geek
+1 received by user: 123

Subscriber

  Reply # 449598 18-Mar-2011 14:15
Send private message

1. I dont think I put my 'external' ip on... I put in my ip from http://www.whatismyip.com/ (I have no idea what that type of ip address is)


That is your external/public/internet facing IP which exists on the "outside" interaface of your router.  You can't bind it on your server

2. I'll try that, but usually when I try with my 192.168.1.x ip it only directs to local... So no one out of my         network can play on the server


That makes no sense.

27 posts

Geek


  Reply # 449623 18-Mar-2011 14:52
Send private message

2. I'll try that, but usually when I try with my 192.168.1.x ip it only directs to local... So no one out of my ? ? ? ? network can play on the server


That makes no sense.


I think he means that if he tells the server to listen on the local address, and then gives that address out to other people who try to connect, it fails, which is of course entirely expected behaviour.

You need to set up the server to listen on the local address and then you are setting up port forwarding on your router so that connections coming in to your external address are forwards to your local one.

So you set up your server to listen on 192.168.x.y (or what ever your internal address is), then you set up port forwarding so traffic intended for 12.34.56.78 (or what ever your external address is) gets forwarded to 192.168.x.y and then you tell people to connect to 12.34.56.78.



11 posts

Geek


  Reply # 449777 18-Mar-2011 23:02
Send private message

Wow... Ah ok! I left the ip field in the properties blank, Success it binded (I dont know how) It seems I can connect using 222.152.x.x:25565 but im not sure other people can connect. Im testing it on another computer now!

1 post

Wannabe Geek


  Reply # 451633 24-Mar-2011 23:21
Send private message

Hi guys.
So for a person that has no idea on how to configure the above could you guys explain how to very in step by step terms?

I have had this problem as well, I opened up my local port but cant use my external one nor can my friends to connect to my server.

I have put both of them into my modem/router PR-S300HI congif.

1937 posts

Uber Geek
+1 received by user: 124

Trusted

  Reply # 451976 26-Mar-2011 10:30
Send private message

1. Setup the router to allocate a fixed local IP to the machine you are trying to run the server on (or setup the server to use a static IP). This is a local IP address that we will call destination IP.

2. Load up the server software (eg your game) on the local destination machine. Check that windows firewall etc allows traffic on that port, and whether its type should be TCP or UDP or both.

3. In the router's firmware setup it should tell you the external or public IP address, you will need it later and we will call this your outside IP address.

4. In the router's firmware setup, go to the port forwarding page. If it doesnt have predefined rules for your game/server that you can activate then setup forwarding for a the required port. Normally you enter the same port number as both the external and internal ports, enter whether its TCP or UDP, and enter your local destination IP as the internal IP. Apply the setting. Some routers also require your to "save and reboot" the router.

5. Wait for the router to reconnect to internet. Port forwarding should now be working from outside your home network. You need to connect to it from outside to test it, you usually cannot connect to port forwarding by going to the outside IP from a local machine.

6. When playing LAN games, you may need to enter the local IP of your hosting machine if game traffic stays local and doesnt get forwarded on the inside of your network.




Qualified in business, certified in fibre, stuck in copper, have to keep going  ^_^

1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Air New Zealand experiments with blockchain technology
Posted 23-Nov-2017 15:39


Symantec selects Amazon Web Services to deliver cloud security
Posted 23-Nov-2017 10:40


New Zealand Ministry of Education chooses Unisys for cloud-based education resourcing management system
Posted 22-Nov-2017 22:00


Business analytics software powers profits for NZ wine producers
Posted 22-Nov-2017 21:52


Pyrios strikes up alliance with Microsoft integrator UC Logiq
Posted 22-Nov-2017 21:51


The New Zealand IT services ecosystem - it's all digital down here
Posted 22-Nov-2017 21:49


Volvo to supply tens of thousands of autonomous drive compatible cars to Uber
Posted 22-Nov-2017 21:46


From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.