Fedora Linux Support Community & Resources Center
Old 26th April 2017, 06:03 AM
m1boli Offline
Registered User
Join Date: Sep 2010
Posts: 23
Server doesn't bind to IP4 requested socket number, but works in IP6

I have a Java program that opens a ServerSocket.
netstat -tlpn shows that if I open port 20 (for example):

-- IP6 binds a TCP socket to :::20
-- IP4 binds a TCP socket

This doesn't necessarily work right. Some clients can connect, others cannot.

This seems to have broken between fc22 and fc24.

I disabled selinux, to no effect. The process is running as root. I put it in a systemd unit file, which worked under the previous fc22 host.

What would cause binding to be mucked up that way?
Reply With Quote

bind, ip4, ip6, number, requested, server, socket, works

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Cannot open socket: cant assign requested address Trouble making server LuneAmant Mac Chat 0 19th May 2011 11:30 AM
BIND-reverse lookup doesn't work-lame server pthegreat Servers & Networking 0 13th February 2010 08:18 PM
dnsmasq: failed to bind DHCP server socket: Address already in use taske Servers & Networking 3 9th November 2009 12:39 AM
socket: bind() error in a udp aplication Owy Programming & Packaging 6 29th March 2006 05:44 PM
How do I increase total number of socket/file descriptors ? cweng Using Fedora 4 9th April 2005 04:42 PM

Current GMT-time: 00:33 (Sunday, 20-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat