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 
433 posts

Ultimate Geek
+1 received by user: 115

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

 
 
 
 


433 posts

Ultimate Geek
+1 received by user: 115

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

433 posts

Ultimate Geek
+1 received by user: 115

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.

1889 posts

Uber Geek
+1 received by user: 119

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 »

Security concerns reach new peak, Unisys Security Index
Posted 27-Jun-2017 14:11


Behind Spark’s slow-burn 4.5G plan
Posted 26-Jun-2017 16:23


Red Hat unveils production-ready open source hyperconverged infrastructure
Posted 23-Jun-2017 22:10


Whatever ailed Vodafone broadband … seems to be fixed
Posted 23-Jun-2017 14:10


VMware NSX Meets Stringent Government Security Standards with Common Criteria Certification
Posted 22-Jun-2017 19:05


Brother launches next-generation colour laser printers and all-in- ones for business
Posted 22-Jun-2017 18:56


Intel and IOC announce partnership
Posted 22-Jun-2017 18:50


Samsung Galaxy Tab S3: Best Android tablet
Posted 21-Jun-2017 12:05


Wellington-based company helping secure Microsoft browsers
Posted 20-Jun-2017 20:51


Endace delivers high performance with new 1/10/40 Gbps packet capture card
Posted 20-Jun-2017 20:50


You can now integrate SMX security into Microsoft Office 365, Google and other cloud email platforms
Posted 20-Jun-2017 20:47


Ravensdown launches new decision-making tool HawkEye
Posted 19-Jun-2017 15:38


Spark planning to take on direct management of all consumer stores
Posted 19-Jun-2017 10:03


Qrious acquires Ubiquity
Posted 14-Jun-2017 12:21


Spark New Zealand prepares for 5G with Nokia
Posted 14-Jun-2017 12:16



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.