I'm trying to develop an http push application on Blackberry.
I'm using the sample application from the blackberry documentation (HttpPushDemo).
When I test to run it server side on localhost and send a message, the console tells that the connection is refused. Here is the error message:
Sending to http://localhost:8080/push?DESTINATION=2100000A&PORT=100&REQUESTURI=localhost
Waiting for notification on port 7778...
java.net.ConnectException: Connection refused: connect
The client application (in blackberry simulator) is already listening.
fyi, this is the doc that I follow : http://docs.blackberry.com/en/developers/deliverables/7649/Setting_up_for_JDE_organizer_1009971_11.jsp
Related
I am facing issue with websocket on Ionic
connection with "ionic serve" working perfect. but when i try with "ionic run android"(which is connected with WiFi) getting below given error.
"WebSocket connection to 'ws://192.168.1.7:8086/wsConn' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT"
"192.168.1.7" is my server ip address.
I tested server running on window 10 and window server 2012 both.
tried with turning off server firewall also.
Can anyone help me on this ?
While I am trying to connect my project to remote server in NetBeans.
Please help me to resolve this error in SFTP connection.
Can't connect to server 31.XXX.XX.XX
Cause.Session.connect:Java.net.SocketTimeoutException:Read timed out
Try to telnet to IP:PORT and check whether it is working.
I am trying to use Amazon SES mail service. I have configured settings properly, and with the credentials it is working in one of our network machine, but in other it is not working, alwayz gives ConnectException
javax.mail.MessagingException: Could not connect to SMTP host: email-smtp.us-east-1.amazonaws.com, port: 25;nested exception is:java.net.ConnectException: Connection refused: connect
Check your security groups and make sure SMTP port is open to this network or device.
First problem:
I am doing messaging using socket programming.Previously it worked fine but currently it is showing exception when I connect both server and client to same router .
Second problem:
If I connect server and client to different networks it is not working client unable to connect server's ip address
192.168.0.0/16 is a Local Area Network address block.
Moreover, if your server machine is configured to use DHCP instead of a static address, it may receive a different local address each time you connect it to the (same) router.
I am trying to send a mail with gwt and java on the server with the buitin jetty on eclipse but I am getting the following error:
Cannot open and load mail server properties file.
Cannot send email. javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
does someone know what to configure to make it work??
This is not GWT related problem. Test you email sending code in isolation (without GWT and Jetty).
Start with sample code and configure it's parameters to your need. You will also need to use a SMTP server to send emails this way.