Could not bind socket: Address already in use The 2019 Stack Overflow Developer Survey Results Are In Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara 2019 Community Moderator Election ResultsMany domains using a single IP address with BIND 9.7Nginx with dnsmasq 'could not be resolved (5: Operation refused)'Could not start docker with existing LVM thin pool optiondhclient error “Bind socket to interface: No such device”Docker could not find an available, non-overlapping IPv4 address poolHow to get remote host DNS address from a super-slim host (docker) without ping or bind-utils?IPv6 socket creation failed: Address family not supported by protocolWhy is it not possible to use a static IP address within the docker deafult bridge?Debian 9 - IO address already in use? unable to bootCannot start vncserver: bind: Cannot assign requested address (99)
Didn't get enough time to take a Coding Test - what to do now?
What force causes entropy to increase?
A phrase ”follow into" in a context
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
For what reasons would an animal species NOT cross a *horizontal* land bridge?
"... to apply for a visa" or "... and applied for a visa"?
Word to describe a time interval
Why can't wing-mounted spoilers be used to steepen approaches?
Working through the single responsibility principle (SRP) in Python when calls are expensive
60's-70's movie: home appliances revolting against the owners
Example of compact Riemannian manifold with only one geodesic.
What can I do if neighbor is blocking my solar panels intentionally?
Student Loan from years ago pops up and is taking my salary
Can we generate random numbers using irrational numbers like π and e?
Huge performance difference of the command find with and without using %M option to show permissions
How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?
Why are PDP-7-style microprogrammed instructions out of vogue?
Drawing vertical/oblique lines in Metrical tree (tikz-qtree, tipa)
Do I have Disadvantage attacking with an off-hand weapon?
How to determine omitted units in a publication
Is every episode of "Where are my Pants?" identical?
Simulating Exploding Dice
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Could not bind socket: Address already in use
The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election ResultsMany domains using a single IP address with BIND 9.7Nginx with dnsmasq 'could not be resolved (5: Operation refused)'Could not start docker with existing LVM thin pool optiondhclient error “Bind socket to interface: No such device”Docker could not find an available, non-overlapping IPv4 address poolHow to get remote host DNS address from a super-slim host (docker) without ping or bind-utils?IPv6 socket creation failed: Address family not supported by protocolWhy is it not possible to use a static IP address within the docker deafult bridge?Debian 9 - IO address already in use? unable to bootCannot start vncserver: bind: Cannot assign requested address (99)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm using port 8082 in dockerfile: ENV FILESERVER_PORT 8082
.
When starting seafile with: sudo bash /opt/seafile/seafile-server-6.3.4/seafile.sh start
I get the error http-server.c(2197): Could not bind socket: Address already in use
I tried to delete ccnet.sock
and starting docker again. That didn't help.
Netstat is showing:
tcp6 0 0 :::8082 :::* LISTEN 4993/docker-proxy
tcp6 0 0 :::8090 :::* LISTEN 5321/docker-proxy
tcp6 0 0 :::8000 :::* LISTEN 5007/docker-proxy
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 899/mysqld
sudo docker ps:
#####:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
############ mdh_seafile "/bin/sh -c 'bash /s…" 23 minutes ago Up 3 minutes 0.0.0.0:8000->8000/tcp, 0.0.0.0:8082->8082/tcp mdh_seafile_1_f2341d904d27
############ mdh_owncloud "/bin/sh -c 'bash /s…" 22 hours ago Up 3 minutes 0.0.0.0:8090->80/tcp mdh_owncloud_1_260c3a56f2a5
############ mysql "docker-entrypoint.s…" 26 hours ago Up 3 minutes 3306/tcp, 33060/tcp mdh_db_1_46bebe733124
I tried changing the port in docker-compose from:
ports:
- "8000:8000"
- "8082:8082
to
ports:
- "8001:8001"
- "8083:8083
But it just told me the same.
Also netstat shows just one output:
sudo netstat -pna | grep 8082
tcp6 0 0 :::8082 :::* LISTEN 19685/docker-proxy
debian docker
New contributor
add a comment |
I'm using port 8082 in dockerfile: ENV FILESERVER_PORT 8082
.
When starting seafile with: sudo bash /opt/seafile/seafile-server-6.3.4/seafile.sh start
I get the error http-server.c(2197): Could not bind socket: Address already in use
I tried to delete ccnet.sock
and starting docker again. That didn't help.
Netstat is showing:
tcp6 0 0 :::8082 :::* LISTEN 4993/docker-proxy
tcp6 0 0 :::8090 :::* LISTEN 5321/docker-proxy
tcp6 0 0 :::8000 :::* LISTEN 5007/docker-proxy
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 899/mysqld
sudo docker ps:
#####:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
############ mdh_seafile "/bin/sh -c 'bash /s…" 23 minutes ago Up 3 minutes 0.0.0.0:8000->8000/tcp, 0.0.0.0:8082->8082/tcp mdh_seafile_1_f2341d904d27
############ mdh_owncloud "/bin/sh -c 'bash /s…" 22 hours ago Up 3 minutes 0.0.0.0:8090->80/tcp mdh_owncloud_1_260c3a56f2a5
############ mysql "docker-entrypoint.s…" 26 hours ago Up 3 minutes 3306/tcp, 33060/tcp mdh_db_1_46bebe733124
I tried changing the port in docker-compose from:
ports:
- "8000:8000"
- "8082:8082
to
ports:
- "8001:8001"
- "8083:8083
But it just told me the same.
Also netstat shows just one output:
sudo netstat -pna | grep 8082
tcp6 0 0 :::8082 :::* LISTEN 19685/docker-proxy
debian docker
New contributor
Either change the port seafile is going to use, or change the port docker-proxy is using. You can't have 2 applications binding to the same port.
– Panki
yesterday
@Panki How do I find free ports I can use?
– Ora nge
yesterday
Runnetstat -lt
to see used tcp ports. Every port that is not used is free.
– RoVo
yesterday
@RoVo Weird thing is when I change the ports in docker compose to ` ports: - "8001:8001" - "8083:8083" ` I still get the errorwarning: seafile-controller not running. Have you run "./seafile.sh start" ?
andCould not bind socket: Address already in use
– Ora nge
yesterday
add a comment |
I'm using port 8082 in dockerfile: ENV FILESERVER_PORT 8082
.
When starting seafile with: sudo bash /opt/seafile/seafile-server-6.3.4/seafile.sh start
I get the error http-server.c(2197): Could not bind socket: Address already in use
I tried to delete ccnet.sock
and starting docker again. That didn't help.
Netstat is showing:
tcp6 0 0 :::8082 :::* LISTEN 4993/docker-proxy
tcp6 0 0 :::8090 :::* LISTEN 5321/docker-proxy
tcp6 0 0 :::8000 :::* LISTEN 5007/docker-proxy
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 899/mysqld
sudo docker ps:
#####:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
############ mdh_seafile "/bin/sh -c 'bash /s…" 23 minutes ago Up 3 minutes 0.0.0.0:8000->8000/tcp, 0.0.0.0:8082->8082/tcp mdh_seafile_1_f2341d904d27
############ mdh_owncloud "/bin/sh -c 'bash /s…" 22 hours ago Up 3 minutes 0.0.0.0:8090->80/tcp mdh_owncloud_1_260c3a56f2a5
############ mysql "docker-entrypoint.s…" 26 hours ago Up 3 minutes 3306/tcp, 33060/tcp mdh_db_1_46bebe733124
I tried changing the port in docker-compose from:
ports:
- "8000:8000"
- "8082:8082
to
ports:
- "8001:8001"
- "8083:8083
But it just told me the same.
Also netstat shows just one output:
sudo netstat -pna | grep 8082
tcp6 0 0 :::8082 :::* LISTEN 19685/docker-proxy
debian docker
New contributor
I'm using port 8082 in dockerfile: ENV FILESERVER_PORT 8082
.
When starting seafile with: sudo bash /opt/seafile/seafile-server-6.3.4/seafile.sh start
I get the error http-server.c(2197): Could not bind socket: Address already in use
I tried to delete ccnet.sock
and starting docker again. That didn't help.
Netstat is showing:
tcp6 0 0 :::8082 :::* LISTEN 4993/docker-proxy
tcp6 0 0 :::8090 :::* LISTEN 5321/docker-proxy
tcp6 0 0 :::8000 :::* LISTEN 5007/docker-proxy
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 899/mysqld
sudo docker ps:
#####:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
############ mdh_seafile "/bin/sh -c 'bash /s…" 23 minutes ago Up 3 minutes 0.0.0.0:8000->8000/tcp, 0.0.0.0:8082->8082/tcp mdh_seafile_1_f2341d904d27
############ mdh_owncloud "/bin/sh -c 'bash /s…" 22 hours ago Up 3 minutes 0.0.0.0:8090->80/tcp mdh_owncloud_1_260c3a56f2a5
############ mysql "docker-entrypoint.s…" 26 hours ago Up 3 minutes 3306/tcp, 33060/tcp mdh_db_1_46bebe733124
I tried changing the port in docker-compose from:
ports:
- "8000:8000"
- "8082:8082
to
ports:
- "8001:8001"
- "8083:8083
But it just told me the same.
Also netstat shows just one output:
sudo netstat -pna | grep 8082
tcp6 0 0 :::8082 :::* LISTEN 19685/docker-proxy
debian docker
debian docker
New contributor
New contributor
edited 19 hours ago
Ora nge
New contributor
asked yesterday
Ora ngeOra nge
235
235
New contributor
New contributor
Either change the port seafile is going to use, or change the port docker-proxy is using. You can't have 2 applications binding to the same port.
– Panki
yesterday
@Panki How do I find free ports I can use?
– Ora nge
yesterday
Runnetstat -lt
to see used tcp ports. Every port that is not used is free.
– RoVo
yesterday
@RoVo Weird thing is when I change the ports in docker compose to ` ports: - "8001:8001" - "8083:8083" ` I still get the errorwarning: seafile-controller not running. Have you run "./seafile.sh start" ?
andCould not bind socket: Address already in use
– Ora nge
yesterday
add a comment |
Either change the port seafile is going to use, or change the port docker-proxy is using. You can't have 2 applications binding to the same port.
– Panki
yesterday
@Panki How do I find free ports I can use?
– Ora nge
yesterday
Runnetstat -lt
to see used tcp ports. Every port that is not used is free.
– RoVo
yesterday
@RoVo Weird thing is when I change the ports in docker compose to ` ports: - "8001:8001" - "8083:8083" ` I still get the errorwarning: seafile-controller not running. Have you run "./seafile.sh start" ?
andCould not bind socket: Address already in use
– Ora nge
yesterday
Either change the port seafile is going to use, or change the port docker-proxy is using. You can't have 2 applications binding to the same port.
– Panki
yesterday
Either change the port seafile is going to use, or change the port docker-proxy is using. You can't have 2 applications binding to the same port.
– Panki
yesterday
@Panki How do I find free ports I can use?
– Ora nge
yesterday
@Panki How do I find free ports I can use?
– Ora nge
yesterday
Run
netstat -lt
to see used tcp ports. Every port that is not used is free.– RoVo
yesterday
Run
netstat -lt
to see used tcp ports. Every port that is not used is free.– RoVo
yesterday
@RoVo Weird thing is when I change the ports in docker compose to ` ports: - "8001:8001" - "8083:8083" ` I still get the error
warning: seafile-controller not running. Have you run "./seafile.sh start" ?
and Could not bind socket: Address already in use
– Ora nge
yesterday
@RoVo Weird thing is when I change the ports in docker compose to ` ports: - "8001:8001" - "8083:8083" ` I still get the error
warning: seafile-controller not running. Have you run "./seafile.sh start" ?
and Could not bind socket: Address already in use
– Ora nge
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Ora nge is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511898%2fcould-not-bind-socket-address-already-in-use%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Ora nge is a new contributor. Be nice, and check out our Code of Conduct.
Ora nge is a new contributor. Be nice, and check out our Code of Conduct.
Ora nge is a new contributor. Be nice, and check out our Code of Conduct.
Ora nge is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511898%2fcould-not-bind-socket-address-already-in-use%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-debian, docker
Either change the port seafile is going to use, or change the port docker-proxy is using. You can't have 2 applications binding to the same port.
– Panki
yesterday
@Panki How do I find free ports I can use?
– Ora nge
yesterday
Run
netstat -lt
to see used tcp ports. Every port that is not used is free.– RoVo
yesterday
@RoVo Weird thing is when I change the ports in docker compose to ` ports: - "8001:8001" - "8083:8083" ` I still get the error
warning: seafile-controller not running. Have you run "./seafile.sh start" ?
andCould not bind socket: Address already in use
– Ora nge
yesterday