Self hosting other device cant connect tot the server.

I want to host a minecraft server on my own machine nothing too fancy just some servers that me and my friends can mess around on. I can't get the portforwarding to work. So i used No-IP to get a server address (I have this server IP xxx.0.0.1 and this is the address i got randomserver.ddns.net ). I can easily connect from my main machine that is hosting the server using both ip and the Address but can't connect to the server using any other device. What DDNS services can i use? I tried DuckDns but also couldn't get it to work.
132 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by boypro019#0
Sebasdt
Sebasdt2y ago
You should be looking into srv records. Duckdns is only for your dns name to point to a ip address. Srv are for pointing a dns name to a port. https://www.cloudflare.com/learning/dns/dns-records/dns-srv-record/
Sebasdt
Sebasdt2y ago
Support | No-IP Knowledge Base
How to Add a SRV Record to Your Minecraft Server
With the 1.3 patch for Minecraft, a SRV record can be used to connect to a hostname without requiring the specific port number after the hostname.
QarthO
QarthO2y ago
srv records are just to remove the port for the players (right?) so this wont be helpful at all
Sebasdt
Sebasdt2y ago
yep but it seems I've read the post wrongly ... So from what I could gather is: You can connect to the server via the dns name and ip address directly but your friends not, right?
QarthO
QarthO2y ago
i'd double check ur computers (the server) firewall isnt blocking the connections
boyproO19
boyproO19OP2y ago
yep using another device on my own network and the IP works but not the randomserver.ddns.net for my pc's firewall I disabled UFW
QarthO
QarthO2y ago
are you hosting on a windows machine? or linux?
boyproO19
boyproO19OP2y ago
linux from the same network this randomserver.ddns.net also works I used a vpn and tried to connect to randomserver.ddns.net that did not work. I also have asked a friend to test it on his end but he can't as of right now. Also i just tested using mobile data using it works the same as using a VPN ip doesn't work (Expected) but randomserver.ddns.net and this also doesn't
Sebasdt
Sebasdt2y ago
what if you use a external port tester like this one? https://www.yougetsignal.com/tools/open-ports/
Open Port Check Tool - Test Port Forwarding on Your Router
Port checker is a utility used to identify your external IP address and detect open ports on your connection. This tool is useful for finding out if your port forwarding is setup correctly or if your server applications are being blocked by a firewall.
boyproO19
boyproO19OP2y ago
using the external address or the server IP?
boyproO19
boyproO19OP2y ago
IDK about port forwarding tried to do it in my previous router did not work and on this one I found this..
No description
boyproO19
boyproO19OP2y ago
Yep i did not want to use port forwarding because i dont understand it
No description
boyproO19
boyproO19OP2y ago
oh also if i ask my ISP to open port 25565 on my router and i have other servers like just a example 25565 has my hub 25566 may be a survival server 25567 a creative server As my understanding those port also need be opened right?
Sebasdt
Sebasdt2y ago
To forward a server you need to say to your isp router/modem HEY! open up this "door" or port to let people in.
boyproO19
boyproO19OP2y ago
I got that part can't figure out how to and if i have to contact my isp i don't want to do it over and over again for different serves like in this situation
Sebasdt
Sebasdt2y ago
You still need to open a port can be quite easy. Let me see if I can help you. Maybe you can snoop arround in your router interface and search for port forwarding after you have logged into your router. here is a site that maybe can help you. https://portforward.com/
Port Forward
How To Set Up Port Forwarding - Port Forward
An explanation of port forwarding and the necessary steps to set up port forwarding in your router.
boyproO19
boyproO19OP2y ago
I used to have a tplink one that was easy to port forward on but after switching ISPs i have had the 2 of the most shittiest routers
boyproO19
boyproO19OP2y ago
No description
boyproO19
boyproO19OP2y ago
No description
QarthO
QarthO2y ago
most of the time u won’t need to contact ur isp, And in the small chance u do, u can just tell them to open a range of ports. Not one, ex: 25565-25575 But you most likely won’t have to do that It’s a lot easier to Google ur router and how to port forward on it, than to try and look thru ur router page and figure it out urself
boyproO19
boyproO19OP2y ago
I'll just mess around for now then I tried that too
QarthO
QarthO2y ago
But going the rout of using noip will be a lot harder to do You should only do that if u physically can’t use ur external ip, (ie. Ur isp prevents it)
boyproO19
boyproO19OP2y ago
No description
QarthO
QarthO2y ago
Can u tell me the router you have? I can look it up for you and show u how to use it
boyproO19
boyproO19OP2y ago
The whole data sheet thing for the model is 4 pages long FD504GW-DX-Z416 that's the model.
QarthO
QarthO2y ago
so you have 2 "routers" now?
boyproO19
boyproO19OP2y ago
they had like an exchanfe thing so gve away the old one to get a new one
QarthO
QarthO2y ago
ok, are so are u using vianet as ur isp?
boyproO19
boyproO19OP2y ago
Yep
QarthO
QarthO2y ago
!cgnat
Carl-bot
Carl-bot2y ago
We may have bad news for you :C
Open your router's configuration interface. Somewhere you'll see something like 'external' or 'public' IP. If your external IP is in one of the following ranges, you're basically screwed as long as portforwards go: - 10.0.0.0/8 - 172.16.0.0/20 - 192.168.0.0/16 - 100.64.0.0/10 - any IPv6 address/range - This shouldn't be a problem, but Minecraft's IPv6 support is still rather quirky. You're at your own but we're happy if you share your experience. You should ask your ISP for a public and IPv4 address (but this may cost you money). NB: your internal IP should and most probably will be in one of the first three ranges, don't mix them up
Admincraft Canned Responses
QarthO
QarthO2y ago
does ur external ip look like this?
boyproO19
boyproO19OP2y ago
yep
QarthO
QarthO2y ago
ok so then yes, you cant portforward looks like vianet requires u to pay extra to do that
boyproO19
boyproO19OP2y ago
oh wait i lookd at the ipv4
boyproO19
boyproO19OP2y ago
Open Port Check Tool - Test Port Forwarding on Your Router
Port checker is a utility used to identify your external IP address and detect open ports on your connection. This tool is useful for finding out if your port forwarding is setup correctly or if your server applications are being blocked by a firewall.
boyproO19
boyproO19OP2y ago
this shows 103.XX ipv4 looks like 192.xx also the router config access thigi is 192.
QarthO
QarthO2y ago
dont use that website u need to look at ur router !cgnat
Carl-bot
Carl-bot2y ago
We may have bad news for you :C
Open your router's configuration interface. Somewhere you'll see something like 'external' or 'public' IP. If your external IP is in one of the following ranges, you're basically screwed as long as portforwards go: - 10.0.0.0/8 - 172.16.0.0/20 - 192.168.0.0/16 - 100.64.0.0/10 - any IPv6 address/range - This shouldn't be a problem, but Minecraft's IPv6 support is still rather quirky. You're at your own but we're happy if you share your experience. You should ask your ISP for a public and IPv4 address (but this may cost you money). NB: your internal IP should and most probably will be in one of the first three ranges, don't mix them up
Admincraft Canned Responses
QarthO
QarthO2y ago
read the post "Open your router's configuration interface. Somewhere you'll see something like 'external' or 'public' IP. If your external IP"
Discount Milk
Discount Milk2y ago
The WAN port of your router Compare that to what you found online If they're the same You're good, if they're different you're boned.
boyproO19
boyproO19OP2y ago
It's 100.70
QarthO
QarthO2y ago
yup...
Discount Milk
Discount Milk2y ago
You're boned
QarthO
QarthO2y ago
https://playit.gg/ this can be an alternative
boyproO19
boyproO19OP2y ago
i tried that too
QarthO
QarthO2y ago
ok then dont self host
boyproO19
boyproO19OP2y ago
alr
QarthO
QarthO2y ago
if you REALLY want to self host you'll have to speak to ur ISP
boyproO19
boyproO19OP2y ago
listening..
QarthO
QarthO2y ago
nothign to do with your router its your isp
boyproO19
boyproO19OP2y ago
thought so
Sebasdt
Sebasdt2y ago
Do you think Tailscale is an option?
boyproO19
boyproO19OP2y ago
those bastards
QarthO
QarthO2y ago
"This is because Vianet assigns Private IP to "home plan" users. The only guaranteed way that you will receive an open NAT is to subscribe to their SOHO package" looks like you'll have to pay more if u want to self host
boyproO19
boyproO19OP2y ago
oh alright i shall look into some packages
QarthO
QarthO2y ago
its most likely will be cheaper to host ur server online there are even free options that will most likely be better performing than whatever ur selfhosting on
boyproO19
boyproO19OP2y ago
Okay i shall see
Discount Milk
Discount Milk2y ago
Yeah. If it costs you $20 a month to change ISP plans to one that you can use to host, it might cost more than renting hosting
boyproO19
boyproO19OP2y ago
also where did you find this
boyproO19
boyproO19OP2y ago
the website is relaly cluttered i also vivewd this thread
QarthO
QarthO2y ago
thats where i found it
boyproO19
boyproO19OP2y ago
i saw some ther one then it was a lot older
QarthO
QarthO2y ago
yeah, but good chance they wont change their methodology for this, more money for them
boyproO19
boyproO19OP2y ago
Their website doesn't have it mentioned
QarthO
QarthO2y ago
if you want to host and u dont mind the expenses, ur best bet would be to call them and ask them
boyproO19
boyproO19OP2y ago
No description
QarthO
QarthO2y ago
you'd want to call them
boyproO19
boyproO19OP2y ago
true
QarthO
QarthO2y ago
the normal person doesnt need an open nat so they wont really advertise it and it'll be harder to find on their website
boyproO19
boyproO19OP2y ago
Current plan costs about 9-12 $ so idk how much they could charge for it Ill open a support ticket to see if they still have this "SOHO" thing in place cause that post was from 3 years ago
QarthO
QarthO2y ago
best thing would be to tell them what you want to do asking for something u dont know what it is (SOHO) might end up with u paying for it, and it could not work so tell them what ur doing, what u need to do and they'll give u options
boyproO19
boyproO19OP2y ago
you're right their site's terms and conditions mentions nothing about SOHO or port forwarding
boyproO19
boyproO19OP2y ago
here
No description
boyproO19
boyproO19OP2y ago
an older thread i found
QarthO
QarthO2y ago
!cgnat
Carl-bot
Carl-bot2y ago
We may have bad news for you :C
Open your router's configuration interface. Somewhere you'll see something like 'external' or 'public' IP. If your external IP is in one of the following ranges, you're basically screwed as long as portforwards go: - 10.0.0.0/8 - 172.16.0.0/20 - 192.168.0.0/16 - 100.64.0.0/10 - any IPv6 address/range - This shouldn't be a problem, but Minecraft's IPv6 support is still rather quirky. You're at your own but we're happy if you share your experience. You should ask your ISP for a public and IPv4 address (but this may cost you money). NB: your internal IP should and most probably will be in one of the first three ranges, don't mix them up
Admincraft Canned Responses
QarthO
QarthO2y ago
dont look at other threads this is ur issue you are out of luck.
boyproO19
boyproO19OP2y ago
Even if i contact them they probbably won't allow or smthing idk i ll contact them even then
QarthO
QarthO2y ago
to reiterate, it will most likely be cheaper (and can even be FREE) to host ur server online
boyproO19
boyproO19OP2y ago
How do you use Tailscale?
Sebasdt
Sebasdt2y ago
okay Lets start from the begining. What do you want to do on the server? do you want plugins mods or modpacks? otherwise aternos or other minecraft free host providers is better. Tailscale could send you into a rabbit hole you didnt forsee . I use tailscale for remote access my services and computers. its a vpn that punches a hole trough firewalls.
boyproO19
boyproO19OP2y ago
ahh
boyproO19
boyproO19OP2y ago
Kingvilter
YouTube
Port Forwarding for Dummies: How to Do it Without Router Access
Are you tired of trying to figure out how to port forward without access to your router login? Look no further! Our step-by-step tutorial makes port forwarding easy for even the biggest tech beginners. No more confusion or frustration – just simple, straightforward instructions for successful port forwarding without logging into your router. ⏱️...
boyproO19
boyproO19OP2y ago
i saw this video
boyproO19
boyproO19OP2y ago
and wonder if any of this can be used in the same way
No description
Sebasdt
Sebasdt2y ago
Okay look, that will only work if your on the same network. You really only have three options: - host it on aternos or other free minecraft hosts (this is will have the most chance of success) - host it on a paid service - use a vpn to bring all of there data into your network (aint recommended)
boyproO19
boyproO19OP2y ago
I want to know more about the 3rd option how does that even work? Well Guys i got access to Super user in the control panel to tho
boyproO19
boyproO19OP2y ago
No description
boyproO19
boyproO19OP2y ago
No description
boyproO19
boyproO19OP2y ago
No description
boyproO19
boyproO19OP2y ago
are any of these useful things for port forwarding?
boyproO19
boyproO19OP2y ago
No description
boyproO19
boyproO19OP2y ago
some ports...
No description
boyproO19
boyproO19OP2y ago
@here Found it
No description
boyproO19
boyproO19OP2y ago
Also Why do these ip ranges not work?
Discount Milk
Discount Milk2y ago
It doesn't work because of something called CGNat, or Double NAT You know how you have to port forward to get traffic to your computer?
boyproO19
boyproO19OP2y ago
So even tho I can access the panel for port forward it never opens the port up?
Discount Milk
Discount Milk2y ago
Your ISP would have to also do the same But they never will in a CGNat environment
boyproO19
boyproO19OP2y ago
So i access the panel it don't open the port so I call up the isp and ask them to do do it right? But they probably won't from what I know and read on some tech threads
Discount Milk
Discount Milk2y ago
No, they won't open the port. You ask them to give you a real public IP
boyproO19
boyproO19OP2y ago
So if i renew my package do i have to ask again for it
Discount Milk
Discount Milk2y ago
Pardon?
boyproO19
boyproO19OP2y ago
I mean the package for the internet subscription runs out And when I do renew it do i have to ask for a public ip again Also opening port 80 in this situation is also not possible right ?
Discount Milk
Discount Milk2y ago
Opening any port is not possible when you have CGNat I have no idea how your ISP offers their packages. You'd have to ask their sales department
boyproO19
boyproO19OP2y ago
So my situation is CGNat or Double Nat
Discount Milk
Discount Milk2y ago
They're the same thing. Just two different words for it Like "melanoma" and "skin cancer"
boyproO19
boyproO19OP2y ago
I just saw this and was confused
No description
boyproO19
boyproO19OP2y ago
Makes sense
Discount Milk
Discount Milk2y ago
You know how you have a public IP and a private IP?
boyproO19
boyproO19OP2y ago
Yep
Discount Milk
Discount Milk2y ago
In this case You have a public IP, a private IP, and another private IP
boyproO19
boyproO19OP2y ago
At this point it is a lost cause I will not be self hosting a server anytime soon then
Discount Milk
Discount Milk2y ago
Call your ISP and ask them. Some ISP will remove you from CGNat for free, others will charge you for it All you can do is ask
boyproO19
boyproO19OP2y ago
Not a "professional" one at least It is not a big deal as I wanted this server to mess around with some plugins that some free providers don't have and some plugins that me and my friends can make I can still test the plugins on my own then And for messing around with my friends I c a just use a hosting thing
Discount Milk
Discount Milk2y ago
You can use playit.gg
boyproO19
boyproO19OP2y ago
Also checking my IPV4 connection there is 2 tyrps Ppoe has Nat enabled Dchp has Nat disabled Also they have different ips and connection name Is that any thing significant?
boyproO19
boyproO19OP2y ago
No description
QarthO
QarthO2y ago
Hey, idk how many times we gotta tell you. With your ISP no matter how much tinkering you do. You cant fix it. You have to ask THEM to fix it
boyproO19
boyproO19OP2y ago
OKAY OKAY i am just loooking around
QarthO
QarthO2y ago
imagine this for portforwarding. A normal person is locked in a house. and when they portforward they unlock a specific side door into the house and now people can come in and play minecraft. However for you. You are in the same situtation. EXCEPT you are locked in a room inside that house. Your ISP put you in this locked room inside this house. What you are doing is trying to unlock your door. You can tinker ALL you want. You might even be able to unlock your door. but you walk out and ur still locked in this house. Your ISP has locked all of the houses exteriors doors. You dont have ANY access to those doors. Your only option is to ask them Any curious why u dont want to use a free platform like oracle cloud vm? They dont give u a minecraft server. they give u VM. You have full acesss to it. You can install/download ANYTHING you want. and do whatever you want you have pretty much full control
boyproO19
boyproO19OP2y ago
ANYTHING as in a lot of servers?
QarthO
QarthO2y ago
yes!! ANYTHING you want you are only limited on how "good" the computer you get
boyproO19
boyproO19OP2y ago
alright
QarthO
QarthO2y ago
and you want a better computer then u gotta pay but their free tier is very nice for your specific use case
boyproO19
boyproO19OP2y ago
No description
QarthO
QarthO2y ago
Deploying in Oracle Cloud | setup.md
A modified version of the guide produced by u/Belaboy1095969 on the Admincraft reddit using Ubuntu LTS.
QarthO
QarthO2y ago
now make sure you stay inside the free tier. if you go above it. it will start costing you they might charge u a dollar or two when u sign up just to verify you're a real person with a real wallet. but they refund the money
ProGamingDk
ProGamingDk2y ago
its a hold so they never charge it

Did you find this page helpful?