Skip to Content

Error connecting a JAVA application in SCP using sockets

Hi gurus!

I'm trying to integrate a library of telegram bots with SCP ,when I execute it locally (my PC), the connection works correctly and I receive and treat the messages that come through the telegram server using socket.

But when deploying the application to the SCP, the following error appears. I think it's a mistake since some port is not available, but I'm not sure how to enable this connection.

Any ideas? Thanks!!!!

Caused by: connect timed out (local port 45542 to address (, remote port 443 to address |
	at Method) |
	at |
	at |
	at |
	at |
	at |
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket( |
	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect( |
	... 47 more |

Add comment
10|10000 characters needed characters exceeded

  • It would help if you could provide links to the API that you want to use. But I would guess that you can only use protocols that are supported by the destination API.

  • Get RSS Feed

0 Answers