FedoraTime Posted August 19, 2014 Posted August 19, 2014 So I made a Tekkit server for my friends and I, and it works if I connect using "localhost", but when I try to test it by connecting using my actual IP, it doesn't work. I have port forwarded, and I used my IPv4 address, and I used the typical 25565 port. I went to ipchicken to get my public IP, and that's what I'm using to try and connect. When adding the server, I also include the port :25565, but it still doesn't work. There are no errors in the command prompt. Any advice? Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 It is forwarded for both TCP and UDP? Is your PC's firewall set to allow that port? Quote
FedoraTime Posted August 19, 2014 Author Posted August 19, 2014 Yes it is set for both TCP and UDP. And what do you mean is my firewall set to allow that port? Shouldn't it by default? Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 You may have to allow it through your windows firewall. Turn it off and see if your game connects. If so, you know you need to create some firewall exceptions. Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 On the router, try putting the local server IP in the DMZ. Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Some routers let you bypass all of their firewall settings with it. Risky, but worth a try. What kind of router do you have? Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 http://media2.comcast.net/anon.comcastonline2/support/userguides/Wireless_Gateway_User_Guide_030811.pdf If this is your router, use this to look up DMZ instructions. Quote
FedoraTime Posted August 19, 2014 Author Posted August 19, 2014 It still won't work. I enabled DMZ and set the host to my IPv4 address. Is there an option in the properties folder that isn't allowing people to connect to it? Everything look fine. I double checked my IPv4 address to see if I input it correctly when I first port fowarded. I made sure the ports were the same in the server properties and on the port forward screen from my router settings. I can't find the problem! Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 What message do your client computers see when they try? Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Are you absolutely sure about that port number? Stop / restart the server too. Quote
FedoraTime Posted August 19, 2014 Author Posted August 19, 2014 I am, and I have several times. The port number is 25565. It is written that why in the port forwarding settings, and the server properties. (As well as when trying to connect to the server.) Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Try connecting without specifying the port number. Quote
Curunir Posted August 19, 2014 Posted August 19, 2014 (edited) If I may interject: I have been running a small local server and never could connect to it via public IP, although friends were able to connect using just that IP. On my LAN, I had to use the local IP. So a proper test would be not connecting yourself that way, but having a friend connect via Internet using the public IP. I guess it should be basically possible to use the public IP on a local computer, using DMZ and whatnot. But it should not be necessary, in my experience. I'm not a network geek, so no guarantees that I got everything right. But my server is working. Edited August 19, 2014 by Curunir Quote
FedoraTime Posted August 19, 2014 Author Posted August 19, 2014 Still doesn't work. Same error. Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Logmein hamachi is worth a try. Quote
FedoraTime Posted August 19, 2014 Author Posted August 19, 2014 Hamachi works, but I don't want to use it. I'd like to port forward. Quote
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Can other clients on your local network connect? Quote
EvilOwl Posted August 19, 2014 Posted August 19, 2014 (edited) Upload a screenshot from the router port forward settings and post basic network config: IP, mask, gateway, router IP. Post the TCP/IP settings of your machine also. Cover personal data in screenshots if there are any. Does your ISP provide real public IP or is this some kind of NAT? Edited August 19, 2014 by bochen415 Quote
efflandt Posted August 20, 2014 Posted August 20, 2014 Note that many routers do not do loopback [LAN2LAN via WAN (public) IP], to avoid IP spoofing attacks I guess. First make sure that in server.property file server-ip= is blank (nothing at all), so it can bind to ANY IP on the server. Then make sure that you can connect to the server from another computer on your LAN (local) network using the LAN IP of your server. If that fails, port forwarding is not going to work (maybe firewall on server is blocking). Then assuming that you properly forwarded TCP port 25565 (I don't think UDP matters) to the LAN IP of your server: Go to canyouseeme.org and see if the IP it shows for you agrees with the public IP you have from comcast and whether that site shows port 25565 open when you check it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.