AlexProgrammerDE / balena-minecraft-server

Build a Minecraft Server using a Raspberry Pi 4! Supports common Servers, SCP, RCON and Wifi Connect.
Apache License 2.0
200 stars 66 forks source link

Problem with FTP #130

Closed ViraajRandhawa closed 3 years ago

ViraajRandhawa commented 3 years ago

the hostname 'balenaminecraftserver' isnt working on filezilla or any other FTP service please help.

AlexProgrammerDE commented 3 years ago

Please try SFTP instead of FTP. There is no FTP server running on the Pi.

ViraajRandhawa commented 3 years ago

Please try SFTP instead of FTP. There is no FTP server running on the Pi.

I tried but it still did not work instead it gave the same error

AlexProgrammerDE commented 3 years ago

Could you please provide more info?

ViraajRandhawa commented 3 years ago

Could you please provide more info?

ok so what’s happening is that when I use ‘balenaminecraftserver’ as a host anywhere, it tells me that the hostname doesn’t exist or is incorrect. But when I use the IP address it says ‘connection timed out’ after 20 seconds

AlexProgrammerDE commented 3 years ago

What software are you using and are you in the same network as the raspberry pi?

ViraajRandhawa commented 3 years ago

What software are you using and are you in the same network as the raspberry pi?

I’m on the same network and I am using filezilla from a MacOS

AlexProgrammerDE commented 3 years ago

Did you select sftp in the settings before connecting? You would have to add it to your serverlist inside Filezilla and select sftp instead of ftp as a connection method. As said above the Pi doesn't host a ftp server and requires ssh ftp instead.

ViraajRandhawa commented 3 years ago

Did you select sftp in the settings before connecting? You would have to add it to your serverlist inside Filezilla and select sftp instead of ftp as a connection method. As said above the Pi doesn't host a ftp server and requires ssh ftp instead.

here is what error Im getting now Screenshot 2021-05-21 at 12 33 07 PM

and this is the details I put in it

Screenshot 2021-05-21 at 12 41 02 PM

and I have opened port 22 on my router

AlexProgrammerDE commented 3 years ago

Try balenaminecraftserver.local instead. Also please close port 22. Its a very bad idea to keep that port open.

ViraajRandhawa commented 3 years ago

Try balenaminecraftserver.local instead. Also please close port 22. Its a very bad idea to keep that port open.

I closed the port thank you. But I'm still getting the same error

AlexProgrammerDE commented 3 years ago

Maybe this could help: https://stackoverflow.com/a/40754476/12871087 I am kind of unsure if your Mac even picks up the pi. Maybe also try the pis internal ip instead of balenaminecraftserver.

ViraajRandhawa commented 3 years ago

Maybe this could help: https://stackoverflow.com/a/40754476/12871087 I am kind of unsure if your Mac even picks up the pi. Maybe also try the pis internal ip instead of balenaminecraftserver.

I got an inactivity error this time by using the pi's internal IP address

Screenshot 2021-05-21 at 1 13 51 PM

ViraajRandhawa commented 3 years ago

Should I try to connect my pi to my laptop through a wire and try to use balenaminecraftserver.local?

ViraajRandhawa commented 3 years ago

I fixed the error (just needed to run Raspbian on my raspberry pi once)