Giter Site home page Giter Site logo

Comments (9)

w-henderson avatar w-henderson commented on September 22, 2024

For some reason it defaults to 8080 (I thought it defaulted to 80 but @flauntingspade4 must've changed it). You can simply change the port the server is bound to at the end of server/src/main.rs. This could be added as a command-line argument but this project is pretty much discontinued so I don't plan to make any changes.

If you want to open a PR and add that feature, please go ahead!

from kascreech.

lexcorp avatar lexcorp commented on September 22, 2024

"but this project is pretty much discontinued so I don't plan to make any changes"

it's a shame, it's a good project...

from kascreech.

lexcorp avatar lexcorp commented on September 22, 2024

There are not many good options for this type of project, the only ones that come close are this:

https://github.com/sanity-io/squizzy

and Kascreech

from kascreech.

w-henderson avatar w-henderson commented on September 22, 2024

It might look good but as soon as you look at the code it certainly isn't! We quickly hacked it together as a joke - if it were to become a long-term project the whole thing would need to be refactored (and I'd probably switch Rust out for Firebase) and I don't have the time for that! If you want to do some development on the project feel free to though.

from kascreech.

lexcorp avatar lexcorp commented on September 22, 2024

cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
Running target/debug/server
Error: Os { code: 98, kind: AddrInUse, message: "Address already in use" }

How to stop server?

When I run the server, I get message:

Error: Os { code: 98, kind: AddrInUse, message: "Address already in use" }

from kascreech.

lexcorp avatar lexcorp commented on September 22, 2024

image

Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.min.js:2 POST https://10.120.7.75/chungusGameInfo 404 (Not Found)

from kascreech.

lexcorp avatar lexcorp commented on September 22, 2024

cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
Running target/debug/server
Error: Os { code: 98, kind: AddrInUse, message: "Address already in use" }

How to stop server?

When I run the server, I get message:

Error: Os { code: 98, kind: AddrInUse, message: "Address already in use" }

After change port, run sucessfully...

from kascreech.

w-henderson avatar w-henderson commented on September 22, 2024

I can see in your image that your URL is /Kascreech/web/chungus.html but you should be at /chungus.html. You may need to run cargo run from a different directory or something.

from kascreech.

w-henderson avatar w-henderson commented on September 22, 2024

It's been a while @lexcorp but we've finally re-written the whole project from scratch in a much better way! You can now select the address and port to bind the server to when you run the server, for example kascreech 0.0.0.0:8000 would run it on port 8000.

from kascreech.

Related Issues (7)

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.