Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect: clementine player listen on tcp6 on a IPv4-only computer #200

Open
yeupou opened this issue Dec 22, 2019 · 1 comment
Open

Comments

@yeupou
Copy link

yeupou commented Dec 22, 2019

Hi,

I cannot connect to clementine player 1.3.1. Not sure to fully understand the problem but it seems that it is expecting the flow on IPv6

# netstat -an |grep 5500
tcp6       0      0 :::5500                 :::*                    LISTEN     

Except that this computer is on IPv4 only:

# ifconfig | grep inet6

and within an IPv4 LAN.

So the failed connection is somelike like:
remote on an android phone -IPv4/else->
-> public IPv4 address port 5500->
-> redirect to local LAN IPv4 address port 5500->
-x-> failing to reach clementine player on IPv6 port 5500.

@tambux
Copy link

tambux commented May 30, 2020

Somewhat old Message, but I did not see any Answer, so here is my Kludge for the same Problem...

I found Clementine Remote App for Android, and my First Try it told me no Response from the Computer. I'm running Debian 10.4 and Clementine 1.3.1+git609-g623a53681+dfsg-1. From the logs I found out that the App is actually trying to connect to port 5500 (IPv4). Netstat is showing that Clementine listens to IPv6 like in the Original Post.

I'm using the Android in My Wifi network, on ZTE 4G usb network adapter. There seems not to be any IPv6 Options in the Config Interface. And to verify it's IPv4 only Network, Nothing showing in the Logs when trying to use the IPv6 Address for my Computer in the Android App. I have no Interest opening Clementine Port to the Public Internet.

I managed to redirect IPv4 to IPv6 with:
socat TCP4-LISTEN:5500 TCP6:localhost:5500
and this had to be done before enabling the Port in Clementine.

Still trying to find out, How to enable IPv4 in Clementine...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants