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 9 years ago.
Improve this question
I am using internet behind NAT, of my institute. I have no access to router's username and password. I want to host a website from my laptop. Is there any way I could host it?
That really depends on the configuration of the main router, but the answer is probably "no". Most likely main router doesn't forward any ports to your laptop.
Of course there are workaround, like for example, setting a VPN or SSH tunnel connection to another server that will forward ports to your computer, but if you'll have access to the server that is already accessible from the internet - you'll just host your site there.
Related
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
Why its necessary to set a static ip and then put in the /etc/hosts file
put the static ip and host to install hadoop? like this:
127..0.1 localhost
::1 localhost
192.10.1.20 hadoophost
In general...
Why its necessary to set a static ip
Because if the machine reboots and acquires a new IP address via DHCP, then your cluster completely breaks.
Other than that, adding an entry to /etc/hosts allows the computer to reference other computers and itself by hostname rather than IP address.
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 have a Windows VM on Azure and I don't understand why my ping times out.
I found a probable reason: on Azure portal I see public IP "40.127.163.20", but inside VM when I do ipconfig I see different IP that is strange.
Do you have any ideas?
ICMP protocol is not permitted through the Azure load balancer (inbound or outbound) which means that you can't do a simple ping to your VM. There is a : user voice request for this to be enabled here.
This blog here describes how you can use a port ping as an alternative.
There is some documentation on how to set up an Instance Level IP, which would circumnavigate the load balancer and give direct communication to the Virtual Machine, but I haven't tried this approach (I'm giving it a go right now, will report back)
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 use Windows 7, and enter to a website, which need to find an ip (with port 8080). It doesn't find it.
I want to tell him that this ip belong to a domain (http://wargra....)
There is a simple way to do it?
Open the file called "hosts" in the folder "C:\Windows\System32\drivers\etc" using notepad or a similar program.
See the line 127.0.0.1 localhost
That line means that if you type localhost it has to go to IP 127.0.0.1 so simply add a line for your IP and domain in the same fashion.
That will only work for you though, if you need everyone to beable to access the server that goes by the IP you are talking about you need to PURCHASE a domain at godaddy or similar and point the DNS to the IP of the server.
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 am looking to set up replication which will have a master in my local environment and a slave in the Amazon environment.
I am able to set up replication successfully for two EC2 instances, but failing to do so if the master is outside the Amazon environment. I changed the security group to have port 3306 open but that didn't change anything.
Are there any other changes to be done? Anyone has a similar setup? Is this possible at all?
Should work fine as long as all the ports on your local network are open and forwarded correctly. Have you made sure that your database is accessible via a remote network, more info/troubleshooting info can be found here
http://dev.mysql.com/doc/refman/5.1/en/replication-problems.html
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
Actual problem is that I open VPN (OpenVPN) connection to my office on my mac.
This connection changes my preference to a new DNS (in office). I cannot visit any page until I manually ping dns by IP. After that everything works like a charm (until VPN disconnected, of course).
I really do not understand this behavior, but I am sure I can solve this because my colleagues (with Macs too) have no problems with this. Please, give me any hint how this can be fixed.
Maybe you need to flush the local DNS cache on your Mac:
dscacheutil -flushcache
Or maybe your local router onsite needs to flush it's DNS cache, especially if your mac is set up so that the local router is the gateway.
Before connecting, check your IP, gateway, and DNS, then connect (but don't do the ping thing yet), repeat, and then ping, and finally check again.
If this isn't illuminating, log into the local router's admin interface and do similar steps to the above.