MitchTalmadge / AMP-dockerized

CubeCoders AMP in a Docker Image. Easily create game servers for games like Minecraft, GMod, TF2, Factorio, and StarBound!
https://hub.docker.com/r/mitchtalmadge/amp-dockerized
Other
91 stars 22 forks source link

I cant connect via WinSCP #86

Closed Ewj71 closed 2 years ago

Ewj71 commented 3 years ago

https://user-images.githubusercontent.com/69757318/130362120-d6721017-ea04-4ee3-bbb1-6e61fddad222.mp4

i cant connect so i cant upload why is this

Ewj71 commented 3 years ago

image

Dalarialus commented 3 years ago

Have you forwarded the port through docker?

Sporical commented 2 years ago

I cannot seem to get WinSCP to connect to my minecraft instance. No matter what information I put in it just doesn't seem to connect. Network Error: Connection to "servername" timed out. I am using a proxy if that matters. I really want to transfer a world file over to my server but it seems I cannot do that through the web gui for amp or WinSCP. What is happening?

MitchTalmadge commented 2 years ago

I was able to reproduce the issue. Looking into it

MitchTalmadge commented 2 years ago

I got it working on mine!

  1. Click the button in the File Manager to open the SFTP window: image

  2. Take note of the port assigned: image

  3. Forward the port in your Docker configuration. For example, if you use docker-compose.yml, it might look like this to open ports 2223 and 2224 (one is used for my ADS instance and one for my Minecraft instance) image

  4. Bring the container down and back up again.

  5. Try it now!

If it's still not working, double check the FileManagerPlugin.kvp file inside your instance data folder. Look to make sure SFTP is enabled and the port is as expected. Also make sure it's bound to 0.0.0.0.

SFTP.SFTPEnabled=True
SFTP.SFTPPortNumber=2223
SFTP.SFTPIPBinding=0.0.0.0

Hopefully this helps some people. Please comment if you can't get it to work.