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?
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?
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?
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.
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 On the router, try putting the local server IP in the DMZ.
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?
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.
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!
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 What message do your client computers see when they try?
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Are you absolutely sure about that port number? Stop / restart the server too.
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.)
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Try connecting without specifying the port number.
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
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Logmein hamachi is worth a try.
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.
Moderators AetherPirate Posted August 19, 2014 Moderators Posted August 19, 2014 Can other clients on your local network connect?
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
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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now