Comments (9)
It's my fault. I changed the server defualt port to 15000 and 15111 ,and set ID server addr ip:15000 ip:15111 , but the defualt port is fixed in config.rs file , if I change server port , I need to change RENDEZVOUS_PORT and RELAY_PORT
Thanks anyway .It's really a great project.
from rustdesk.
I did not test in intranet, and did not run rustdesk-server-demo and rustdesk on the same machine (192.168.2.231). Can you help debug?
from rustdesk.
You do not need to set relay server, relay server is already implicitly used.
from rustdesk.
Yes , I tested in intranet , at first ,I run one client and server on one pc , another client on another pc , not work ,So I depoly the serverdemo to the server ,still can't get it work . I also tested to remove relay server address as you said, got same error
I can debug , but i'm new to rust , so i can't figure out what's wrong
from rustdesk.
Because I only want use it in intranet ,So i comment the default relay server,
pub const RENDEZVOUS_SERVERS: &'static [&'static str] = &[
// "rs-cn.rustdesk.com",
// "rs-sg.rustdesk.com",
];
from rustdesk.
I did test yesterday before deploy the code.
from rustdesk.
try to do below change in main.rs line 40
Some(rendezvous_message::Union::relay_response(_)) => {
println!("relay_response {:?}", addr);
let mut msg_out = RendezvousMessage::new();
msg_out.set_relay_response(RelayResponse {
relay_server: relay_server.clone(),
..Default::default()
});
if let Some(mut stream) = saved_stream.take() {
if let Ok((stream_a, _)) = rlistener.accept().await {
let mut stream_a = FramedStream::from(stream_a);
stream.send(&msg_out).await.ok();
if let Ok((stream_b, _)) = rlistener.accept().await {
let mut stream_b = FramedStream::from(stream_b);
stream_a.next_timeout(3_000).await;
stream_b.next_timeout(3_000).await;
relay(stream_a, stream_b, &mut socket, &mut id_map).await;
}
}
}
}
from rustdesk.
also make sure 21117 port work, relay uses 21117
from rustdesk.
If still not work, I can not help you. Up to yourself to solve it.
from rustdesk.
Related Issues (20)
- The latest Android version can no longer start the service and crashes upon startup. HOT 1
- Password keeps changing by itself. HOT 1
- Memory leaking MAC OS 13 HOT 2
- RustDesk iOS -> Android - No audio in Chrome browser app HOT 1
- voice call no sound HOT 2
- Build flutter on window10 HOT 2
- Missing Lib in the AppImage HOT 1
- Can't connedt via X11 - KDE Neon fresh install (KDE Plasma 6) HOT 1
- Application crashes when typing anything in ID/Relay Server fields HOT 1
- UAC fails after system restart
- ID server does not reconnect automatically HOT 2
- Rustdesk flutter web fail loading HOT 1
- Rustdesk install in Android 10 doesn't support audio capture. HOT 1
- Rustdesk aggressively accessing registry
- Bug Report - Taskbar Icon Causes Multiple Window Instances HOT 1
- Trouble Connecting RustDesk Clients via Tailscale and RustDesk local server
- Able to connect to RD from one computer, but not from other
- MultiMonitor setup on Ubuntu doesn't retain the chosen monitor configuration after screen locking due to inactivity HOT 2
- RaspBerry PI 5 - Rustdesk Not Displaying Correctly HOT 1
- android rustdesk client Unable to wake the screen. HOT 3
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 rustdesk.