How to ping a domain from another location? [closed] - terminal

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is there anyway to ping a web domain from another location in command line ?
I found some websites who provide this kind of services but was wondering if I can do this from terminal.
Thank you.

search online ping site; for example i found helloacm
i wrote this:
#!/bin/bash
echo -e $(curl -s https://helloacm.com/api/ping/?host=${1:-"yahoo.com"})
run and output is:
/tmp$ ./siteping anubis.ir
"PING anubis.ir (5.56.133.10) 56(84) bytes of data.
64 bytes from host4.azaronline.com (5.56.133.10): icmp_seq=1 ttl=54 time=14.9 ms
64 bytes from host4.azaronline.com (5.56.133.10): icmp_seq=2 ttl=54 time=14.8 ms
64 bytes from host4.azaronline.com (5.56.133.10): icmp_seq=3 ttl=54 time=14.8 ms
--- anubis.ir ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min\/avg\/max\/mdev = 14.849\/14.888\/14.951\/0.109 ms
"
OR you can write mini php script and upload it on your site..
then run it with curl from terminal
for example see this link's link1 link2 link3

If the domain's server firewall allows it you can use
ping www.domain.com
Of course it's only an example, the top level domain doesn't have to be '.com'
If ICMP is not allowed, you'll get timeouts.

Related

How to reroute traffic to an ip to a specific port to display website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
So this is a very basic question. I built a small spring boot web app. It runs on port 8089.
I want to take the website live. So i bought a domain that points to the IPv4 address of my server. As i can't specify a port on my dns server, traffic won't reach my application.
How do i get my website to be displayed?
Thanks a ton
Execute this command. I am assuming that your server is linux server.
sudo /sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8089
This command is to route all the traffic you receive on port 80 to port 8089

How do I get the IP address of this website? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I want the IP address of https://sfbay.craigslist.org.
C:\Users\dude>ping https://sfbay.craigslist.org
Ping request could not find host https://sfbay.craigslist.org.
Please check the name and try again.
So, I tried nslookup. None of the IP's in the output allow me to connect to the website using a browser. How do I get the right IP & connect ?
C:\Users\nisum>nslookup https://sfbay.craigslist.org/
Server: cachens1.paetec.net
Address: 66.155.216.122
Non-authoritative answer:
Name: https://sfbay.craigslist.org/
Addresses: 104.239.198.84
198.105.254.65
Pings usually don't include the protocol. The command below worked for me.
ping sfbay.craigslist.org
you can't access to this webSite with the adresse IP because : this domain name is one of many subdomain that use one adresse IP : 208.82.237.2, for this you can just access with a Sub DNS.
here is the main site with details :
Details of 208.82.237.2
IP Address : 208.82.237.2
Location : United States (95% accuracy)
Host Name : cities.craigslist.org
you can use this link to test it : www.hcidata.info
also you can refer to this link : StackOverFlow
Maybe
Ifconfig sfbay.craigslist.org
Or
dig sfbay.craigslist.org

What does this output mean? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am using FTP from Notepad++ to connect to host. On getting connected I am getting following output in a window named NppFTP-Output
220---------- Welcome to Pure-FTPd [privsep] ----------
220-You are user number 17 of 500 allowed.
220-Local time is now 12:55. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 3 minutes of inactivity.
My question is about second line which says 220-You are user number 17 of 500 allowed., What does this mean? Does this mean I can connect only 500 times to the server?
It is telling you that 500 simultaneous connections (users) may be made at any point in time. When you connected, you were the 17th user connected (assuming every user has one connection).

Ping and remote commands not working between two windows computers [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have two computers. One is a old windows vista named orla-pc and the other is a new windows 7 named homelaptop-hp If i run command prompt on orla-pc and type
ping homelaptop-hp
The ping sends out four packets, but does not receive any from homelaptop-hp. The same thing happens when pinging from homelaptop-hp to orla-pc, it sends packets but doesn't receive them. I tried the command tracert (to trace my ping's route) and the result is:
* * * Request timed out
What should i do to get remote commands working?
are you sure that the pc has the IP 10.0.0.4?
do you have a DHCP Server running?
are both in the same subnet mask?
try to look with the cmd command "arp -a" if the pc has a entry in the ARP-Table
Maybe your router or a firewall blocks ICMP packets?
can you ping your router?
greetings

How to use proxy from my computer in oder to ping a website? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a non-static ip in my computer. But i want to use C# to write a program which ping a website through a proxy.
I collected 11 000 proxy in the world and i made a loop from 1 to 11 000. But:
When I ping a website, it uses my ip in computer instead of a proxy with its port.
I tried to make a tracert from a proxy to the website. It's ok. The problem is: Tracert is difference from ping.
Total, I mean that I want to make a loop from 1 to 11 000 with proxies and its port. then with a proxy, it will ping to the website.
It's like DoS.
hmm well you will need to connect to the proxy servers but the question is why do you want to connect to 11000 servers and ping?
My guess is nothing thats legal

Resources