ios push notification connection refused - ios

I have a AWS server which runs centos 7 operating system. The server has CSF installed and is a production server. My site is running fine on it (PHP). Now when I am trying to send a notification to ios I am getting connection refused error. Then when I did telnet I got the following response:
telnet gateway.sandbox.push.apple.com 2195Trying 17.188.166.22...
telnet: connect to address 17.188.166.22: Connection refused
Trying 17.188.166.23...
telnet: connect to address 17.188.166.23: Connection refused ...
In outgoing ports aws server security allows all traffic.Why is this happening ? Do I need to open inbound ports for 2195? I read in this site that its not required.

Related

Workbench fails to connect when using SSH tunnel to hosted DB

experiencing connecting workbench through SSH tunnel to connect to a hosted mysql DB. I'm using port 3309 as I have a local wamp server running mysql on 33066
My first time trying to connect via SSH so any help would be appreciated...
If I try through workbench using standard TCP/IP over SSH I get the below error message
Failed to Connect to MySQL at dbxxx.db.1and1.com:3306 through SSH tunnel at user#homexxxxxxx.1and1-data.host:22 with user dboxxxxxx
[Content]
Lost connection to MySQL server at 'reading initial communication packet', system error: 0
If I use an SSH connection via putty with port forwarding I get the following error
Putty port forward config: source = 3309 destination = dbxxx.db.1and1.com:3306
Error I get back when connecting through workbench is:
Failed to Connect to MySQL at 127.0.0.1:3309 with user dbuser
[Content]
Lost connection to MySQL server at 'reading initial communication packet', system error: 0

Alternative to Cloudflare tunnel if I can't open port 7844 and no root access on hosting server

I have a linux server hosting an app that I want to expose using my namecheap domain name.
The network that the linux server is behind seems to be blocking port 7844, docker error:
"ERR Serve tunnel error error="DialContext error: dial tcp xxx:7844: i/o timeout" connIndex=0 ip=xxx
ERR Unable to establish connection with Cloudflare edge error="DialContext e rror: dial tcp xxx.:7844: i/o timeout" connIndex=0 ip=xxx.33
"
Works fine on machines on another network, linux and windows. So looks to be the network, which I can't port forward on.
I found SirTunnel: https://github.com/anderspitman/SirTunnel but this requires sudo on my siteground server, which isn't possible.
Are there any free alternatives I can use? Or a way I can use cloudflare through a different port?
Thanks

private network harbor access remote server using router

I have harbor git registry in private network.
This network connect internet using router.
I try docker login where remote server. This server not in private network
(Remote server - Router - Harbor(Server) )
I receive error message
Error response from daemon: Get "https://harbor-host-name:{port}/v2/": Get "https://192.168.x.x:{port}/service/token?account={harbor-id}&client_id=docker&offline_token=true&service=harbor-registry": dial tcp 192.168.100.102:8088: connect: no route to host
What should i do this situation?
Another remote server in private network can login successfully.
Solved.
vim harbor.yml
external_url: https://harbor-host-name:{port}
Good Luck!!!

Docker: Opening the tcp socket failed

I have a docker image(base image: alpine) in raspberry pi in which there is a program to convert OPCUA messages to MQTT by connecting it to OPCUA server and MQTT broker.
Both the OPCUA server and MQTT broker are on a same Ubuntu vm.
When I try to connect it with their IP instead of dns it is getting connected. But when I try to connect it with it's hostname it throws an error that-->
Opening of tcp socket failed. Couldn't connect the client to a TCP secure channel.
Note: on raspberry pi os is Raspbian.

connection refused when I try to connect client with server

I made a basic client / server datasnap applications and it work in local network through http but when I tried to connect from the internet I get connection refused, here are the steps I followed:
I set at the server component TDSHTTPService to connect through port no 8081 then in the client I set to use same port in TSQLConnection component, and I used my PC public IP in the HostName but when I try to connect I get connection refused.
Any advise ?
Forgot to say the client is Firemonkey app running on Android.
You should go to router admin console, find something like "port forwarding" and route the port (8081) to your computer IP - you have to say the router that traffic on this port should go to your computer

Resources