You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let listener = TcpListener::bind("127.0.0.1:3000").await.unwrap();
binds to hardcoded localhost:3000
i tried to compile the repo modifying the listen address with &format!("[{}]:{}", args.bind, args.port) and running it can actually make it serve something at the specified url (only with sqlite tho has i'm having difficulties in other builds mostly due to inexperience i suppose)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello and thanks for this project.
I'm having trouble to try cozo with the binaries, the server never respond to any port --port it to.
Probably the problem sits between the keyboard and the chair... but i saw that
cozo/cozo-bin/src/server.rs
Line 281 in 870f1e7
binds to hardcoded localhost:3000
i tried to compile the repo modifying the listen address with
&format!("[{}]:{}", args.bind, args.port)
and running it can actually make it serve something at the specified url (only with sqlite tho has i'm having difficulties in other builds mostly due to inexperience i suppose)am i doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions