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.
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 7 years ago.
Improve this question
I'm trying to run an installation (for a software called Prohits to manage mass spectrometry data) on my localhost server.
One of the requirements is that it occurs over a static IP address. So I set up a static IP address using directions here and verified that it worked by navigating to other webpages. However, the installation is still not able to run and still shows the following error:
WebAddress: 127.0.0.1
Use the server static IP address to run the installation. If this computer has dynamic IP address, it can only run the Lite version`
I don't know if I'm interpreting the error incorrectly or am missing something. The instructions for network configuration state 'Set a fixed IP address and DNS address for the server' which I've done.
The installation should not be run using the 127.0.0.1 address; it should be run using the same static IP address as the address that is set for the network. So if the static IP address is set to something like 192.45.134.52, then the localhost server should also be running on that same address.
To implement this change, open up the hosts file at /etc/hosts and change your localhost server's IP address to the static IP address you set (in this example, 192.45.134.52).
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.
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.
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
When attempting to connect to our Adobe connect server (v7.5) I am getting stuck at "connecting..." stage. When doing the debug here is the output:
Player Version: WIN 10,0,42,34
App-Server returned: code:ok, servers=rtmp://connect:1935/_rtmp://localhost:8506/,rtmpt://connect:443/_rtmp:/ /localhost:8506/
ERROR: FMS Server did not return correctly!
I used Nmap on the server port TCP 1935 its open and I turned off the windows firewall service on the Windows 7 box.
On localhost:8510/console/ -> Server Settings -> Host Mapping -> Use FQDN and reboot.
The hostnames in the URLs after "servers=..." are the clue you're after. The FMS hostname therein is 'connect'. That won't work unless your host's name is actually 'connect' and that name is resolvable to all potential clients to your system (e.g. you have a purely internal deployment.)
The hosts must be configured in the admin console with their fully qualified domain names so that the RTMP URLs constructed are resolvable by clients (end users.) E.g. 'connect.yourdomain.net' instead of 'connect'.
Found the answer for those that may be interested. Apparently the Host Mapping within the Connect server must be the same for the connect pro host and the external name (FQDN)