CINXE.COM

Error: Socket bind failed on local address - SparkLabs

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Error: Socket bind failed on local address - SparkLabs</title> <link href="/static/css/bootstrap.min.css" rel="stylesheet"> <link href="/static/css/sl_styles.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="theme-color" content="#ffffff"> <link href="/static/css/lity.min.css" rel="stylesheet"> <script src="/static/js/moment.min.js"></script> <link href="/blog/feed/" rel="alternate" title="SparkLabs Blog" type="application/atom+xml"> </head> <body> <div class="sl_header_background_generic" id="slheader"> <nav class="navbar navbar-default bs-docs-nav"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div style="position: relative;height:50px;"> <a class="navbar-brand" href="/">SparkLabs</a> </div> </div> <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Products <span class="caret"></span></a> <ul class="dropdown-menu dropdown-menu-left"> <li><a href="/viscosity/">Viscosity</a></li> </ul> </li> <li><a href="/blog/">Blog</a></li> <li><a href="/company/">Company</a></li> <li><a href="/support/">Support</a></li> </ul> </div><!--/.nav-collapse --> </div> </nav> <!-- Header --> <div class="container sl_header"> <div class="row"> <div class="col-md-12"> <h1 class="sl_headertext">App <span style="font-weight: 400;">Support.</span></h1> <h1 class="sl_subheadertext">We're here to help.</h1><br /> </div> </div> </div> </div> <!-- /Header --> <div class="content"> <!-- Article --> <div class="sl_row_gradient"> <div class="container bs-docs-container"> <div class="row sl_paddedrow"> <div class="col-md-12"> <ol class="breadcrumb"><li><a href="/support/kb/">Knowledge Base</a></li><li><a href="/support/kb/category/common-openvpn-errors/">Common OpenVPN Errors</a></li><li class="active">Error: Socket bind failed on local address</li></ol><br /> </div> <div class="col-md-8"> <h3 class="sl_section_header" id="error-socket-bind-failed-on-local-address">Error: Socket bind failed on local address</h3> <div class="sl_article"><p>OpenVPN connections can be configured to bind to a local address and/or port number when connecting. Binding can be thought of as attaching to a fixed address and port number on the local computer. While fixed binding is needed for the OpenVPN server and for site-to-site connections, it's typically undesired for normal client VPN connections. </p><p>If you're seeing a "TCP/UDP: Socket bind failed on local address" error message in the OpenVPN log, it means your VPN connection is configured to bind to a fixed local address and/or port number, and that this address/port number is unavailable. This can normally be resolved by turning off binding like so: </p> <ol><li> Open Viscosity's Preferences window and make sure the Connections toolbar icon is selected. </li><li> Select your connection and click the Edit button. </li><li> Click the Options tab. </li><li> Tick the "No Bind" checkbox and click the Save button. </li></ol> <p>If you're trying to connect two VPN connections simultaneously, and you receive a "TCP/UDP: Socket bind failed on local address: Address already in use" error message for the second connection, it means that both VPN connections are configured to bind to the same local port number (which isn't possible). Enabling the "No Bind" option for both connections will typically allow both connections to connect. </p></div> </div> <div class="col-md-4" role="complementary"> <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm"> <h4 style="padding-left:18px;">Contents</h4> <ul class="nav bs-docs-sidenav"> <li><a href="#error-socket-bind-failed-on-local-address">Error: Socket bind failed on local address</a> </li> </ul> <a class="back-to-top" href="#top">Back to top</a> </nav> </div> </div> </div> </div> <!-- /Article --> <script src="/static/js/jquery-3.3.1.min.js"></script> <footer class="bs-docs-footer"> <!-- Category --> <div class="contact-bar"> <div class="container"> <div class="row vertical-align sl_paddedcell_top"> <div class="col-xs-1"></div> <div class="col-xs-2 text-center"> <i id="icons8-search" class="icons8-search contact-icon" style="font-size:54px;padding-left:5px;"></i> </div> <div class="col-xs-7"> <h3 style="color:#fff;">Search Knowledge Base</h3> <p style="color:#fff;" class="text-justify">Search our knowledge base for guides and documentation.</p> <form id="kbsearch" name="kbsearch" method="post" action="/support/kb/search/"> <div class="input-group"> <input name="query" type="text" class="form-control" placeholder="Search for..."> <span class="input-group-btn"> <button class="btn btn-default" type="submit">Search</button> </span> </div> </form> </div> </div> </div> </div> <!-- /Category --> <!-- Blank --> <div class="sl_row_gradient"> <div class="container"> <div class="row sl_paddedrow"> <br /> <div class="col-md-6 text-left"> <div class="list-group"> <li class="list-group-item"><h4>Other Articles In This Category</h4></li> <a href="/support/kb/article/error-auth-received-control-message-auth_failed/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: AUTH: Received control message: AUTH_FAILED</a> <a href="/support/kb/article/error-cannot-load-certificate-file-cert-crt/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Cannot load certificate file cert.crt</a> <a href="/support/kb/article/error-connection-name-could-not-be-connected/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Connection Name Could Not Be Connected</a> <a href="/support/kb/article/error-inactivity-timeout-ping-restart/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Inactivity timeout (--ping-restart)</a> <a href="/support/kb/article/error-insecure-signature-digest-detected/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Insecure Signature Digest Detected</a> <a href="/support/kb/category/common-openvpn-errors/" class="list-group-item"><span class="badge">25</span><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span> &nbsp; View All</a> </div> </div> <div class="col-md-6"> <div class="list-group"> <li class="list-group-item"><h4>Related Articles</h4></li> <a href="/support/kb/article/error-auth-received-control-message-auth_failed/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: AUTH: Received control message: AUTH_FAILED</a> <a href="/support/kb/article/error-cannot-load-certificate-file-cert-crt/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Cannot load certificate file cert.crt</a> <a href="/support/kb/article/error-connection-name-could-not-be-connected/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Connection Name Could Not Be Connected</a> <a href="/support/kb/article/error-inactivity-timeout-ping-restart/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Inactivity timeout (--ping-restart)</a> <a href="/support/kb/article/error-insecure-signature-digest-detected/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Insecure Signature Digest Detected</a> <a href="/support/kb/article/error-private-key-password-verification-failed/" class="list-group-item"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> &nbsp; Error: Private key password verification failed</a> </div> </div> </div> </div> <!-- /container --> </div> <!-- /Blank --> <div style="background-color:#34373a;"> <div class="container"> <div class="row footer_twitter_row"> <div class="col-md-1"> <img src="/static/img/bsky-logo.svg" height=22px style="opacity:0.4;margin-top:14px;" /> </div> <div class="col-md-9"> <p style="color:#bbb;">Follow us on Bluesky <a href="https://bsky.app/profile/sparklabs.com">&nbsp;@sparklabs.com&nbsp;</a> <span style="color:#666;">&nbsp;&mdash;&nbsp;</span> <span style="color:#bbb;">Viscosity 1.11.4 is now available for macOS! This update restores the performance of TAP VPN connections on macOS 15.0.1+, includes an updated version of OpenSSL, general performance improvements, and small bug fixes and enhancements. www.sparklabs.com/blog/viscosi...</span></p> </div> <div class="col-md-2"> <p style="color:#777;">(<script>document.write(moment("1733234858.0", "X").fromNow());</script>)</p> </div> </div> </div> </div> <div style="background-color:#191a1b;"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="row footer_link_row"> <div class="col-sm-4 col-md-2 columns" style="color:#555;"><h5>Apps</h5><ul style="list-style:none;padding-left:0;margin-left:0;"><li><a href="/viscosity/">Viscosity</a></li></ul> </div> <div class="col-sm-4 col-md-2 columns" style="color:#555;"><h5>Company</h5><ul style="list-style:none;padding-left:0;margin-left:0;"><li><a href="/company/">About</a></li><li><a href="/blog/">Blog</a></li><li><a href="/support/">Support</a></li><li><a href="/store/">Store</a></li></ul> </div> <div class="col-sm-4 col-md-2 columns" style="color:#555;"><h5>Support</h5><ul style="list-style:none;padding-left:0;margin-left:0;"><li><a href="/support/">Support Home</a></li><li><a href="/support/kb/">Knowledge Base</a></li><li><a href="/forum/">Forum</a></li><li><a href="/support/#contact">Contact Us</a></li></ul> </div> <div class="col-sm-2 col-md-2 columns" style="color:#555;"> </div> <div class="col-sm-12 col-md-4 columns" style="color:#555;"><h5>Stay Updated</h5><ul style="list-style:none;padding-left:0;margin-left:0;"><li class="text-justify">Keep up with the latest important SparkLabs news and updates with our (very) occasional newsletter.</li><li> <div class="input-group" style="padding-top:1em;"> <input type="text" class="form-control" placeholder="Email address" style="background-color:#333;border:0;color:#666;width:100%;" name="email" id="footer-emailinput"> <span class="input-group-btn"> <button class="btn btn-default" data-toggle="modal" data-target="#newsletter" style="background:transparent;border-color:#333;color:#666;">Subscribe</button> </span> </div> </li></ul> </div> </div> </div> </div> <div class="row"> <div class="col-md-12 text-center"> <hr style="border:0;height:0;border-bottom:1px solid #222;"> </div> </div> <div class="row" style="padding-top:1em;padding-bottom:2em;"> <div class="col-md-12 text-center"> &copy; SparkLabs Pty Ltd. SparkLabs & Viscosity are registered trademarks of SparkLabs Pty Ltd. <a href="/company/legal/#privacy" style="padding-left:2em;padding-right:2em;color:#444;">Privacy Policy</a> </div> </div> </div> </div> <div class="modal fade" id="newsletter" tabindex="-1" role="dialog" aria-labelledby="newsletter-label" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">SparkLabs Newsletter</h4> </div> <div class="modal-header"> <div id="reissue-confirmmessage"> <div id="message">Thank you for being interested in keeping up with the latest news from us! Please double-check your email address below and then click the Subscribe button.</div> <br> <form method="post" action="/newsletter/"> <input name="email" type="text" class="form-control" placeholder="Email address" id="news-emailinput"> <br><div class="g-recaptcha" data-sitekey="6LcyR74ZAAAAAKIOAPXwb7Sn-9Nwx-NLrQ05gHwy"></div><br> <button type="submit" class="btn btn-default" id="news-confirmbutton">Subscribe</button> </form> </div> </div> </div> </div> </div> <script type="text/javascript" charset="utf-8"> $('#newsletter').on('show.bs.modal', function(e) { $('#news-emailinput').val($('#footer-emailinput').val()); }); </script> </footer> </div> <script src="/static/js/bootstrap.min.js"></script> <script src="https://www.google.com/recaptcha/api.js" async defer></script> <script src="/static/js/docs.min.js"></script> <script src="/static/js/bootstrap-datepicker.min.js"></script> <script src="/static/js/lity.min.js"></script> <script src="/static/js/ostype.js"></script> <script type="text/javascript" charset="utf-8"> function screenShotButton(event) { var button = $(event.currentTarget); var target = $("#" + button.data('screenshot')) if (button.hasClass("screenshot_button_fullscreen")) { var platform = target.data("screenshot-platform"); if (!platform) { platform = "mac"; } var image = target.data("screenshot-" + platform); if (!image) { platform = "mac"; image = target.data("screenshot-" + platform); } var lightbox = lity("#screenshot-" + image); } else { target.data("screenshot-platform", button.data('platform')); renderScreenshots(); } }; function renderScreenshots() { $(".screenshot_image").each(function() { var target = $(this); var platform = target.data("screenshot-platform"); if (!platform) { platform = "mac"; } var image = target.data("screenshot-" + platform); if (!image) { platform = "mac"; image = target.data("screenshot-" + platform); } var zoom = target.data("screenshot-zoom"); target.empty(); target.append('<a href="#screenshot-' + image + '" data-lity><img src="' + image + '/embed" style="margin:0;display:none;" onload="this.width*=' + zoom + ';this.onload=null;this.style.display=\'inline\'" class="img-responsive" /></a>'); }); }; jQuery(document).ready(function($){ if (getOS().name == "Windows") { $(".screenshot_image").each(function() { $(this).data("screenshot-platform", "win"); }); } renderScreenshots(); $('.screenshot_button').on('click', function(event){ event.preventDefault(); screenShotButton(event); }); }); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10