ubuntu - Jetty and tomcat are responding on the browser but giving a connection refused error via cURL -
i'm getting weird problem on local solr-jetty installation on ubuntu machine. did "sudo apt-get install solr-jetty" (which installs jetty dependency).
when open http://127.0.0.1:8080
on browser, "welcome jetty 6 on debian" page. when try to:
curl http://127.0.0.1:8080
i html informing me of (111) connection refused
response. have idea what's happening?
thanks.
edit:
apparently problem not jetty. removed jetty , tried tomcat6 , same problem still happening. maybe network config on particular machine?
see if you've got environment variable "http_proxy" set in shell:
env | grep -i proxy
if that's case, try disabling looking being set in /etc/profile.d/
or /etc/env.d
or $home/.bashrc
. ymmv because have no idea ubuntu puts stuff.
if need proxy other stuff, can add exception in https://serverfault.com/questions/42426/proxy-exceptions-when-using-http-proxy-env-var :
export no_proxy=localhost,127.0.0.0/8 #etc.
Comments
Post a Comment