connect

Node.js Error: connect ECONNREFUSED when using http.request

匿名 (未验证) 提交于 2019-12-03 02:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am troubleshooting a Node.js script, and have stripped out almost all of the code and still am able to reproduce the following error: { [Error: connect ECONNREFUSED] stack: 'Error: connect ECONNREFUSED at exports._errnoException (util.js:682:11) at Object.afterConnect [as oncomplete] (net.js:947:19)', code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect' } The entire script is: var http = require('http'); http.get("http://api.hostip.info/get_json.php", function(res) { console.log("Received response: " + res.statusCode); }); var

Delphi w Indy 10: Unable to connect via TLS 1.2 w SSL “Best Practices” in place on web server

匿名 (未验证) 提交于 2019-12-03 02:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: The question: How do we get Indy 10 to work with a web server that enforces the latest TLS 1.2 SSL Best Practices? The Best Practices are documented by Microsoft: https://technet.microsoft.com/library/security/ms12-006 Essentially, a chunk of ciphers, used across multiple TLS versions, are considered insecure. Note, this kb is from mid 2013, well before poodle. As a best practice, there are articles from the Delphi community related to the BEAST attack, that also propose disabling CBC based ciphers ( http://www.atozedsoftware.com/Intraweb

Unable to connect PostgreSQL to remote database using pgAdmin

匿名 (未验证) 提交于 2019-12-03 02:22:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I installed PostgreSQL on my local server (Ubuntu) with IP 192.168.1.10. Now, I'm trying to access the database from my client machine (Ubuntu) with IP 192.168.1.11 with pgAdmin. I know I have to make changes in postgresql.conf and pg_hba.conf to allow the client to connect. Could you please guide me? 回答1: It is actually a 3 step process to connect to a PostgreSQL server remotely through pgAdmin3. Note: I use Ubuntu 11.04 and PostgreSQL 8.4. You have to make PostgreSQL listening for remote incoming TCP connections because the default

connect input and output tensors of two different graphs tensorflow

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have 2 ProtoBuf Files, I currently load and forward pass each of them separately, by calling- out1 = session . run ( graph1out , feed_dict ={ graph1inp : inp1 }) followed by final = session . run ( graph2out , feed_dict ={ graph2inp : out1 }) where graph1inp and graph1out are input node and output node of graph 1 and similar terminology for graph 2 Now, I want to connect graph1out with graph2inp such that I only have to run graph2out while feeding graph1inp with inp1 . In other words connecting the input and output tensors of the

No connection could be made because the target machine actively refused it 127.0.0.1:57240 at System.Net.Sockets.Socket

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have been developing a web service and a windows service, the web service I have deployed is in another server, and the windows service I have deployed works in my own server, so I use the windows service to call the web service. Everything was fine, but in a few days I have received the below message: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:57240 at System.Net.Sockets.Socket.DoConnect

RJDBC Cassandra -> Error in .jfindClass(as.character(driverClass)[1]) : class not found

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to connect R to Cassandra and I am getting the following error - even though I explicitly add this directory folder to the classpath before I run the code (and I also point to the classpath within the statement)? Thanks for any help! require(RJDBC) .jaddClassPath("C:\\Users\\atrombley\\Desktop\\R\\") cassdrv <- JDBC("org.apache.cassandra.cql.jdbc.CassandraDriver", "C:\\Users\\atrombley\\Desktop\\R\\cassandra-jdbc-1.2.5.jar") Error in .jfindClass(as.character(driverClass)[1]) : class not found 回答1: Cassandra JDBC driver v1.2.5

Using Oracle Service Names with SQLAlchemy

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've run into a nasty little problem connecting to an Oracle schema via SQLAlchemy using a service name. Here is my code as a script. (items between angle brackets are place holders for real values for security reasons) from sqlalchemy import create_engine if __name__ == "__main__": engine = create_engine("oracle+cx_oracle://<username>:<password>@<host>/devdb") result = engine.execute("create table test_table (id NUMBER(6), name VARCHAR2(15) not NULL)") result = engine.execute("drop table test_table") Where 'devdb' is a service name and not

Connection refused / couldn&#039;t connect to host

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a process that is running on a specific port on my remote Ubuntu machine and I'm exposing that port via HTTP. When I tried to connect with my client using curl, I'm not able to connect, but if I do the same call on the remote machine locally, I can see that it connects. So I'm pretty sure that it is a network issue, but just not sure what it is? Even trying on the remote host, I get the same error if I give the actual IP address of the machine! Joes-MacBook-Pro:~ joe$ curl --verbose --insecure --cert .docker/cert.pem --key .docker/key

GStreamer: how to connect dynamic pads

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to use GStreamer to play MP4 video from a file. I have managed to play the file using playbin2 and from the command prompt using: gst-launch filesrc location=bbb.mp4 ! decodebin2 ! autovideosink I am expecting in the future that I will need to create more complicated pipelines and hence why I'm attempting to 'program' the pipeline. In my program I am attempting to replicate the pipeline above, however I have an issue which I suspect is related to connecting the dynamic or "sometimes" source pad of decodebin2 to the autovideo sink.

TCP\\IP client - EHOSTUNREACH (No route to host)

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am trying to develop a client server TCP/IP application. I have a server running on my PC and the client app is running on the mobile. They both are in the same Wi-Fi network, but I cannot establish a connection between them. While debugging the client Android app showed the following error: 09 - 21 01 : 08 : 40.422 : W / System . err ( 8536 ): java . net . ConnectException : failed to connect to / 192.168 . 15.115 ( port 4449 ): connect failed : EHOSTUNREACH ( No route to host ) 09 - 21 01 : 08 : 40.453 : W / System . err ( 8536