Comments (15)
The default server port is 6060. Did you change that in client.js?
from hack.chat.
i repulled the repo at setup and i got this Started server on 0.0.0.0:6060
events.js:85
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
at exports._errnoException (util.js:746:11)
at Server._listen2 (net.js:1156:14)
at listen (net.js:1182:10)
at net.js:1280:9
at dns.js:85:18
at process._tickCallback (node.js:355:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3
from hack.chat.
You must have another program claiming port 6060. (Hence the EADDRINUSE).
from hack.chat.
do i just change the port on both server and client and do i run the server and client on the same machine
from hack.chat.
Whatever port you chose, the WebSocket address in client.js has to match the port of the server. You could run the server and client on the same or different machines, your choice.
from hack.chat.
okay my server is running on 127.0.0.1:8080 and its loaded with no errors and my client is running on http://0.0.0.0:8080 but when i load the client url it loads and when i click a room it loads it and then just does nothing
this is the log from the client
Starting up http-server, serving ./ on: http://0.0.0.0:8080
Hit CTRL-C to stop the server
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /style.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /katex/katex.min.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /schemes/atelier-dune.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /katex/katex.min.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /katex/contrib/auto-render.min.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /client.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /schemes/default.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /katex/fonts/KaTeX_Main-Regular.woff2" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /katex/fonts/KaTeX_Math-Italic.woff2" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /katex/fonts/KaTeX_Size2-Regular.woff2" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /favicon.ico" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:06 GMT] "GET /favicon.ico" Error (404): "Not found"
[Thu, 13 Aug 2015 09:08:08 GMT] "GET /?meta" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:08:59 GMT] "GET /?meta" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
[Thu, 13 Aug 2015 09:10:09 GMT] "GET /" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
from hack.chat.
you also need to start the server.js
using node server.js
from hack.chat.
i have i changed the port and now when i click a channel it says not implemented yet
from hack.chat.
i got it working it was just the order i started them in thank this program is great
from hack.chat.
one more thing how do i log in as admin
from hack.chat.
Let your nickname be admin#password
where admin and password are the values set in config.json.
I should really put that info into the README.
from hack.chat.
one more thing how do i change the ip of the http server
from hack.chat.
I don't understand your question. Your IP is determined by the machine you are hosting the server from.
from hack.chat.
when i start the http server for the client the default ip os 0.0.0.0 and the servers ip is 0.0.0.0 how do i change the client and server ip and do they have to be the same
from hack.chat.
Those are binding IPs. If the servers are hosted from the same machine, they have the same IP address.
from hack.chat.
Related Issues (20)
- Overflow still present HOT 2
- Do not you mind hosting the bot on my channel? HOT 1
- HTTPS guide? HOT 19
- TypeError: socket._receiver.flush is not a function HOT 5
- Multi terminal problems HOT 1
- About running hack.chat in docker based on alpine HOT 11
- go to http://127.0.0.1:8080. HOT 6
- Commands confusion HOT 5
- Sound HOT 2
- TypeError when choosing nickname HOT 2
- Server not working | Upgrade Required HOT 2
- Ellipse HOT 1
- reconnect from different WiFi/unstable WiFi connection not handled very nice (Client side)
- hack chat ionic app HOT 1
- TypeError: socket._receiver.flush is not a function HOT 2
- Hack.chat stopped working HOT 8
- Hack.chat alternative HOT 2
- Installation in Windows 7. HOT 1
- Can you inform everyone about https://github.com/hack-chat/main? HOT 2
- What should I upgrade to?
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 hack.chat.