Git Product home page Git Product logo

Comments (3)

cblake18 avatar cblake18 commented on June 20, 2024 1

Thanks for the reply man. It turns out I shoulda just done a little research on the difference between the listener and target port.

I had them set as the same thing (25565) which obviously caused me to get the “failed to bind to port” error.
Once I changed them and set the listener and target IP to my local IP, the script worked great.

Maybe someone else can learn from my stupid mistake lol. Thanks again.

from minecraft-server-hibernation.

gekigek99 avatar gekigek99 commented on June 20, 2024

check that only one python script is running at a time.

use this command to check what port are being used with this:
netstat -tulpn | grep LISTEN
you should find a what program is using that port that the python script is trying to bind to.

update me on your findings

from minecraft-server-hibernation.

gekigek99 avatar gekigek99 commented on June 20, 2024

no worries!
good that you solved the problem!
(I hate this very silly problems that end up wasting your entire day ahahah)
I modified your question so that it's easyer to look up also for other people

from minecraft-server-hibernation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.