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

Connection for kuka cannot assign requested address: 172.31.1.50, port:1234 #271

Open
mf093087 opened this issue Sep 3, 2021 · 1 comment

Comments

@mf093087
Copy link

mf093087 commented Sep 3, 2021

I am using this command 'rosrun kuka_controller server_V30032017.py' I receive this error.

image

@Narukara
Copy link

Narukara commented Aug 13, 2024

Hello, I have the exact same problem as yours. And somehow I solved it. Maybe this information can help you, or someone else who finds this issue.

I am using WSL2 Ubuntu 20.04, Mirrored mode networking. Here is the content of my .wslconfig:

# Settings apply across all Linux distros running on WSL 2
[wsl2]

networkingMode=mirrored
ignoredPorts=1234

On Windows, manually set the IP address to 172.31.1.50 and the subnet mask to 255.255.0.0.

On Ubuntu, execute sudo ufw allow 1234

After these configurations, rosrun kuka server_V30032017.py usually works fine. But this problem still occurs occasionally, and I don't know why.

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