DO NOT USE! This tag is being burninated: https://meta.stackoverflow.com/q/418968/6296561
Questions tagged [connect]
800 questions
0
votes
1 answer
How to connect Android app to an static ip address
I am trying to develop an app which needs to connect to another device via wifi. I know the IP address of the other device, however when I try to connect to it, I am not able.
private static String getUrl(String direccion) throws…

Sir_Kant
- 13
- 1
- 5
0
votes
2 answers
Node: "Error setting TTL index on collection" when using connect-mongo for sessions
I am trying to deploy an Express app to heroku and get the following error:
2013-01-28T12:44:55+00:00 heroku[web.1]: Starting process with command `coffee server.coffee`
2013-01-28T12:44:57+00:00 app[web.1]: Express server listening on port…

engmista
- 23
- 1
- 4
0
votes
2 answers
Email::Send::Gmail not able to connect to server if run from cgi
Whenever I run a simple send email function using Email::Send::Gmail I get this error:
[Mon Jan 28 11:37:57 2013] [error] [client 31.171.245.] Error sending email: Email::Send::Gmail: error connecting to server smtp.gmail.com at…

Bogdan
- 118
- 1
- 3
- 11
0
votes
1 answer
Android App closes unexpectedly due to network
I am working on my first android app. As of now, I have a tiny server running on my laptop, and took the "Skeleton App" sample from the examples the eclipse android kit (4.0.3). I tried to throw in a basic Socket connection, to eventually send…

kekkles4
- 111
- 9
0
votes
2 answers
why my jsoup.connect(url) can not work with some url?
I am trying to fetch title from http://tv.atmovies.com.tw/tv/attv.cfm?action=channeltime&channel_id=CH06
Here is the part of my source code :
Document doc = Jsoup.connect( theurl above ).get();
Element title =…

facebook-1818217097
- 1
- 1
- 1
0
votes
1 answer
Assigning default values to the request object in express js
How would I go about ensuring that a particular object is available to every request I handle in express?
var somethingImportant = "really important";
var app = express();
// This is just a hypothetical example of what I'm…

Alexander Trauzzi
- 7,277
- 13
- 68
- 112
0
votes
1 answer
How to perform CONNECT HTTP request to a Host on specific port?
How can I perform CONNECT HTTP requests to a Host on specific port?
If there is a tool to achieve this I'd appreciate mentioning it.

Zim3r
- 580
- 2
- 14
- 36
0
votes
4 answers
how can I connect a local programme to a service tunnel?
I have tried for a week to connect a local application to a remote rabbitMQ on a CloudFoundry service but the lign:
connection = factory.newConnection();
always throws an IOException because of a java.net.SocketTimeoutException: Read timed out
I…
0
votes
1 answer
Middleware with dynamic mount point?
I would like to serve static assets for paths that begin with an cache buster:
example.com/40/app.js
example2.com/5/hello/hello.js
example2.com/60000/hello/world/some-file.js
Does Express support this?
I attempted to create a custom middleware…

bibs
- 1,226
- 2
- 11
- 14
0
votes
2 answers
How is connect() failure notified in epoll?
I am writing a simple test script(python) to test a web server's performance(all this server does is HTTP redirect). Socket is set to non-blocking, and registered to an epoll instance.
How can I know the connect() is failed because the server can't…

wei
- 6,629
- 7
- 40
- 52
0
votes
2 answers
Common Pre-Handler for ConnectJS/ExpressJS url handlers?
In my ExpressJS app, several of my urls handlers have the following logic:
See if the user has permission to access a resource
If so, continue
Else, redirect to the main handler.
Is there a way to insert a pre-handler for certain url handlers, via…

Alan
- 45,915
- 17
- 113
- 134
0
votes
1 answer
Prevent setting TTL for connect-redis session to allow allkeys-lru for memory policy
I have set up a pretty simple RedisStore using connect-redis and redis packages. I have a dedicated box for my Session store and want to use the allkeys-lru maxmemory policy for eviction rather than a TTL.
It doesn't seem that connect-redis' store…

kocodude
- 694
- 1
- 6
- 13
0
votes
3 answers
Android get data from internet (android.os.NetworkOnMainThreadException)
Ok, I have read a lot of questions here on StackOverflow but i still can't understand so i'm opening a new question.
I made a class which function connects to internet and fetches json as string. It works fine in normal Java Application but i can't…
user1788084
0
votes
2 answers
Socket: could not connect to server or specific port
I am trying to connect server by port and Host Name.
I find one program but when i am trying to run it will show following Exception
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native…

Sandip Armal Patil
- 6,241
- 21
- 93
- 160
0
votes
1 answer
Android Java SQL Connect
So i'm a web developer by trade but am making an app at the moment.
I've got a program on my PC which sends data from my PC to a database on my webhost.
What I'm after now, is to create an app that is able to download that data with a series of…

UKPixie
- 151
- 1
- 2
- 7