Using HTTP Client with non-default port
lou at montulli.org
Mon Dec 6 16:56:02 EST 2010
Verify that the server on 8080 is functioning properly via some other method
like a wget, lynx or firefox.
If the server is working and NEON isn't, perhaps you could paste a snippet
of code for how you are passing the port number to the library.
Neon certainly works correctly for non standard ports, it is passed during
the session create call.
ne_session_create(mUseHTTPS ? "https" : "http", Hostname, Port);
If you are getting Permission denied, you may have password authorization
required on the server, that is something you should see when you connect
with an alternate browser.
Neon supports authorization through the ne_set_server_auth() call.
From: neon-bounces at lists.manyfish.co.uk
[mailto:neon-bounces at lists.manyfish.co.uk] On Behalf Of Karl Falconer
Sent: Monday, December 06, 2010 1:36 PM
To: neon at lists.manyfish.co.uk
Subject: Using HTTP Client with non-default port
I am trying to debug a bit of code that uses the neon library to make an
The problem I am seeing is that when a session is created with a non-default
http port, such as 8080, a subsequent call to ne_begin_request returns an
NC_CONNECT error code with the following message: "Could not connect to
server: Permission denied"
After changing the listening port to 80, the library is able to connect to
Are there any additional calls that need to be made in order to use the
client with a non-default http schema port?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the neon