Giter VIP home page Giter VIP logo

Comments (5)

mkckr0 avatar mkckr0 commented on May 20, 2024

The IP address is not correct. Use ip addr to see available IP addresses.

from audio-share.

ozgupolat avatar ozgupolat commented on May 20, 2024

Thank you for your reply.
192.168.205.173 is my ipv4 ip address.
And following is the output:

[2023-11-03 19:44:24.615] [info] pipewire header_version: 0.3.48, library_version: 0.3.48
[2023-11-03 19:44:24.622] [info] endpoint_id: 1
[2023-11-03 19:44:24.622] [info] tcp listen success on 192.168.205.173:65530
[2023-11-03 19:44:24.622] [info] udp listen success on 192.168.205.173:65530
[2023-11-03 19:44:24.622] [info] server started

But this time app says "connection timed out"

Also I tried a different wifi network which assigned 10.188.199.64 as ipv4 ip address,
and output on the app is "No route to host: /10.188.199.64:65530"

from audio-share.

mkckr0 avatar mkckr0 commented on May 20, 2024

Keep your PC and phone in a same LAN network. If so, they usually have same prefix of IP address, such as 192.168. And modify the "Host" of app to 192.168.205.173, which is same as server.

In summary, there are two required conditions:

  1. PC and phone in a same LAN network.
  2. The PC server and phone app use exactly same IP address and port.

from audio-share.

ozgupolat avatar ozgupolat commented on May 20, 2024

I think problem was because of the firewall.
When I turn it off, phone and pc can communicate.
However, now app is stuck with the "Starting" message and server with "Accept xxx.xxx.xxx.xxx:39658"

And this is the output of server, I guess it is asking to me to confirm something but cannot find any:

./as-cmd -b 192.168.190.132 -e 123
[2023-11-04 17:08:06.201] [info] pipewire header_version: 0.3.48, library_version: 0.3.48
[2023-11-04 17:08:06.206] [info] endpoint_id: 123
[2023-11-04 17:08:06.206] [info] tcp listen success on 192.168.190.132:65530
[2023-11-04 17:08:06.206] [info] udp listen success on 192.168.190.132:65530
[2023-11-04 17:08:06.206] [info] server started
[2023-11-04 17:08:17.238] [info] accept 192.168.190.131:39658

from audio-share.

mkckr0 avatar mkckr0 commented on May 20, 2024

No, it won't ask you to add firewall rules like Windows. You must add firewall rules manually.

sudo firewall-cmd --add-rich-rule='rule family="ipv4" destination address="192.168.190.132" port port="65530" protocol="tcp" accept'
sudo firewall-cmd --add-rich-rule='rule family="ipv4" destination address="192.168.190.132" port port="65530" protocol="udp" accept'
sudo firewall-cmd --runtime-to-permanent

from audio-share.

Related Issues (20)

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.