Comments (9)
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.
"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.
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.
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.
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.
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.
cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
Runningtarget/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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kascreech.