Pop!_OS 22.04 LTS
AMP Release “Callisto” v2.5.1.8, built 03/09/2024 11:47
The reason I wanted to use AMP was that it had sleep functionality for a Minecraft server built in, which would be great for just hosting one from my PC for my friends. The problem is I can’t get the server to actually wake up when I try to connect in-game.
If I try to connect to my NeoForge server from the NeoForge client, I get the “Failed to connect to the server: Disconnected” error. I understand that it may not work with modded Minecraft (which would stink, but what can you do), but I also created a new official server and tried to connect from the official client, and got the “Failed to connect to the server: connection timed out:” error instead.
I’ve tried connecting to each from their respective client while they’re awake, and that works as expected.
Depending on the network setup the wakeup connections/pings don’t go through correctly.
Being a modded server might also effect things, if the client is expecting a different response when connecting that first time.
You could see if changing the Wake from sleep setting to When the server is pinged has a different result. Downside there is any status tracker/bot pinging the server will wake it up.
Unfortunately this behavior was produced with the servers waking on ping.
Do you know what kind of factors in the network setup can affect the wakeup? Right now I have all the default network settings in the AMP-created servers, and I’m connecting via an IP provided by playit.gg, which I’ve confirmed is running as a background process.
I’ve never experienced the issue myself so I’m just going off assumptions.
Are you able to wake the server when using it’s local/private IP? I’m wondering if it could be some odd thing routing through playit.gg
Just tried it over the local connection and it works as expected, thanks!
Do you know if AMP offers any solution for port forwarding I could use? …To be honest, I’m not entirely certain what that actually is. Is it kind of like a VPN, where people connecting to my PC have to go through an intermediary (playit.gg) who doesn’t reveal my actual IP?
I used to hide my IP, but it’s an uphill battle with little to no reward.
There’s no real reason to use tunneling services unless you have a proper reason (eg if you’re behind a CGNAT or you don’t have access to your router’s interface).
CubeCoders don’t provide any services that can do that sort of thing.
If you’re worried about getting DDOSed, don’t be. It’s hard to attract those sorts of people (at least if you’re nice to others on the internet), and even if you do get DDOSed, the attacker is just wasting their money and it’s not a permanent issue.
Just an extra note:
If you do ever get DDOSed, the best thing to do is not to panic, and to just laugh it off. Most people DDOSing others are trying to get some reaction out of you, so never give them the reaction they’re fishing for.
@ThePotatoKing Sorry for all the edits etc., hopefully this ping works sine it won’t let me just remake the post as a reply to you…
Are you sure? Obviously you could know more than me, but I get a pretty bad gut feeling from leaving my IP address exposed; can’t you get doxxed by doing that? I don’t think my family with whom I live would be very happy if I set us up for that .
I just saw this support thread, and apparently this issue is pretty common. Would you (or anyone who wants to jump in!) be able to help me a bit further if I showed my logs?
So far I’ve only tried changing the playit.gg tunnel from 127.0.0.1:25565 to 0.0.0.0:25565 to match what’s shown on the AMP Instances menu, with no change in results. I also tried the reverse, and set Configuration>Minecraft>Network>Server IP Address to 127.0.0.1 (Loopback (IPv4)), and ditto. I don’t really know what else to try from there.
You can’t get doxxed from just your IP, that’s a bunch of internet bunk. The most they can do is figure out the general area that your ISP is based in, and sometimes that even points to another city entirely. They’d need a lot more info from varying sources in order to actually dox you.
My own IP’s been in the open for a decent while now, and I’m fairly active in quite a few discords, with my server’s being open to the public and all that (though it doesn’t get that much traffic tbh). If someone disliked me enough to try and DDOS me, they wouldn’t need to look far to find the IP, and I’m not too worried.
I work with some streamers who get DDOSed a decent bit, and if you stick to your guns and laugh it off, they don’t tend to come back.
Though back on topic:
Since sleep mode is working in your local network, I’d wager there’s just something weird enough with playit.gg’s tunneling implementation to prevent the initial connections/pings from getting through properly. (and if that’s the case it’s out of AMP’s hands)
Though agreed, if someone has found a solution to the problem before, it would be nice to know in case someone else runs across the issue.
Since the problem has been successfully diagnosed as an issue with third-party software, I think it would be best to make another post asking specifically about that issue. I don’t see much in the search results on this forum about it, so I’ve made a new one here.