Error: connection refused: localtunnel.me:undefined (check your firewall settings) - xampp

I'm trying to set up localtunnel on Ubuntu, but I keep getting the error :
your url is: undefined
/usr/local/lib/node_modules/localtunnel/bin/client:58
throw err;
^
Error: connection refused: localtunnel.me:undefined (check your firewall settings)
at Socket.<anonymous> (/usr/local/lib/node_modules/localtunnel/lib/TunnelCluster.js:47:32)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at emitErrorNT (net.js:1256:8)
at nextTickCallbackWith2Args (node.js:441:9)
at process._tickCallback (node.js:355:17)
I am using Xampp. What could be the issue?
Thank you all.

In ubuntu :
sudo ufw disable
Use the above command to disable the firewall
and create your local tunnel using:
lt --port 8000

Try running it with sudo. I had the same issue while executing as the normal user but running it with sudo helped out. You can also try running it as www-data

After reading this whole issue I can conclude It is not your pc's fault, but the localtunnel server is under heavy load. You should try again in some time.

Related

MySqlworkbench is not connecting with warden. How I can fix this?

our connection attempt failed for user 'Magento' to the MySQL server at db:3306:
Cannot open SSH Tunnel: Failed to resolve hostname tunnel. warden.test (nodename nor servname provided, or not known)
I ran the commands:
warden env down
//Then ran
warden env up
But it's not fixing my problem
I ran the following command and it fixed the error
warden svc up

clickhouse-client get error "Timeout exceeded while reading from socket"

I'm newbie to clickhouse, I'm trying to create a clickhouse database on my unbuntu 18.04 remote server, I follow instruction to install click house from DEB package in this link: https://clickhouse.tech/docs/en/getting_started/install/#from-sources
after that when I run command clickhouse-client it shows something like this :
root#busmap-api-test:~# clickhouse-client
ClickHouse client version 20.3.5.21 (official build)
Connecting to localhost:9000 as user default.
Code: 209. DB::NetException: Timeout exceeded while reading from socket (127.0.0.1:9000)
Can someone help me to figure out what is the problem and how I can solve it?
Thanks,
Follow these steps to resolve the issue:
check that clickhouse-server-service started
service clickhouse-server status
check the server logs to find the possible reason
cat /var/log/clickhouse-server/clickhouse-server.err.log
if occured the error 'Address already in use':
{} <Error> Application: Net Exception: Address already in use: [::1]:9000
{} <Error> Application: Net Exception: Address already in use: 127.0.0.1:9000
need to switch CH-server to any other port by editing tcp_port-param in /etc/clickhouse-server/config.xml-file:
..
<tcp_port>9032</tcp_port>
..
restart CH-server service:
service clickhouse-server restart
and connect this way
clickhouse-client --port 9032
I actually had this problem too but I got it working with the default port.
The setting should be this way if you want to connect remotely and be able to use the loopback from localhost.
<listen_host>::1</listen_host>
<listen_host>0.0.0.0</listen_host>
This allows the loopback method to work (i.e clickhouse-client no args) on localhost to connect through the IPV6 route, and the remote connection (i.e clickhouse-client -h <hostname>) through the IPV4 connection.
My original problem was that i only used <listen_host>0.0.0.0</listen_host> in my config which meant theclickhouse-client no args would not work on localhost. And I could not get both to work by adding <listen_host>127.0.0.1</listen_host>

how to solve tunneling socket could not be established error?

When I issue below command, I'm getting this error. please help me to solve.
heroku run bash
Running bash on myapp... !!!
▸ ECONNRESET: tunneling socket could not be established, cause=Parse Error
! Error in heroku-run:
! getaddrinfo ENOTFOUND api.rollbar.com api.rollbar.com:443
! See /home/simon/.heroku/error.log for more info.
Note: I have http_proxy and https_proxy
certainly your proxy doesn't allowed to connect with heroku server... Please try with other system or change the proxy and try again...

Connection Refused for Shinyapp Authorization - Proxy? Firewall?

When I try to authorize my account for shinyapps, I receive the following error:
Error in function (type, msg, asError = TRUE) :
Failed to connect to api.shinyapps.io port 443: Connection refused
I know that it has something to do with my proxy or firewall settings, but I do not know how to get around this.
I am not sure how to specify a proxy for \code{rcurl} and \code{curl} connections - as I think this may be the fix?
Any help is appreciated!
If you're using the shinyapps package you can read the proxy documnation by running the following commands from your R console:
?shinyapps::rsconnectProxies

Getting error 'Excon nonblock is not supported by your OpenSSL::SSL::SSLSocket' (Heroku)

When trying to push my app to Heroku, it is hanging and I get this message:
ssh: connect to host heroku.com port 22: Operation timed out
When running:
heroku status
I am getting the error:
Excon nonblock is not supported by your OpenSSL::SSL::SSLSocket
Does anyone know what this means and how I can fix it?
I figured out the problem. My company has blocked a ton of stuff so it has something to do with that. When I tried using my phone as a wifi hotspot it worked fine so it has something to do with my network connection at work.

Resources