python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Curl localhost connection refused
I am trying to run this command in git bash:
curl http://127.0.0.1:8000/
or
curl localhost:8000/
but I receive this error:
curl: (7) Failed to connect to 127.0.0.1 port 8000 after 2043 ms: Connectio...
CFD
Votes: 0
Answers: 1
cURL 2 init from PHP
Please help! Where my mistake?
In $rty i have array url
I understand what i have problem in 2 past of code, but i don't know where
Although this is very strange because I did the second part by exampl...
FRTR
Votes: 0
Answers: 2
Correct Formatting of Multiple Condition Bash IF Statement
I am trying to use an IF statement to:
Check if a server is UP
Check if a file exists on the server
My Code So Far
hostname="somehost.com"
file="somefile.txt"
URL="https://$...
arnpry
Votes: 0
Answers: 1
Get Header Authorization value of a login api (sent with username and password in json body) using php curl
I am writing a code in PHP where i need to call and API (Sending username and password) and then fetch the authorization value.
I tried some solutions which are already there on stack but was not able...
d3vdpro
Votes: 0
Answers: 2