Score:0

error connecting to linux server from windows client

dj flag

When a windows machine pings to linux server to run application specific python commands, it does connect. The firewall is also disabled on linux server. mongodb is database server here. database is on same server. Not sure if this ascertains smooth relation between deadline api and database. Any views ?

from DeadlineConnect import DeadlineCon as con
data = con("xx.xx.xx.xx", 8082)     # this give a data object
print data.Groups.GetGroupNames()   # but this gives error, httplib.BadStatusLine: No status line received - the server closed the connection

The system throws urllib2.URLError [Error 10061] - No connection could be made because the target machine actively refused it

Tried,

data = con("xx.xx.xx.xx", 2049)    # this give a data object
print data.Groups.GetGroupNames() # but this gives error, httplib.BadStatusLine: No status line received - the server closed the connection

Is it an issue with connection between deadline server and db server. They are both on same machine. By some sense this should not be causing this issue. But is that a certainty. Not sure. Please share your views ~

cn flag
You're getting an error back from the server, so the netwok is not blocking you. This might be better suited to StackOverflow. It looks like maybe you're trying to talk to something that is an HTTP service but you're not talking HTTP?
vidarlo avatar
ar flag
@shearn89 I'd read the error message as that the connection was dropped at the IP layer, not application layer.
vidarlo avatar
ar flag
@nish what does `curl http://ip-address:8082/` return? Please [edit] your post with this information.
cn flag
@vidarlo - maybe, that error literally means the server responded with an HTTP code that wasn't understood though... So enough connection to establish a TCP connection but not wrong protocol.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.