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 just opend my hosts file via the terminal and I must have accidentally wiped it last time I opened it!
Does anybody have the standard file content?
Mine looks like this:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
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 11 months ago.
Improve this question
I have installed docker on Ubuntu-21.04 and I'm trying to run apache/nifi on it. I am using this command: docker run --name nifi -dp 8443:8443 apache/nifi. From the logs all seems fine:
Generated Username [24a06eea-579f-443a-ad81-b9fe95d46bd3]
Generated Password [9D3NKqhLElChcXHw0jzfO/wkT8yOV+uV]
2022-03-24 15:39:27,726 INFO [main] org.apache.nifi.web.server.JettyServer NiFi has started. The UI is available at the following URLs:
2022-03-24 15:39:27,726 INFO [main] org.apache.nifi.web.server.JettyServer https://a8917820086b:8443/nifi
The entire logs are here
But if i go at localhost:8443 I see this:
on firefox
and on chrome.
I don't know why I can't access to the UI of Nifi.
I have done all of this exactly on windows 10 and it works. Someone can help me? Thanks in advance.
You need to go to https://localhost:8443 not http://localhost:8443. By default NiFi is now secured with TLS, but 8443 is not the standard HTTPS port, thus it does not automatically redirect you to HTTPS if you only enter localhost
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I ran the Rails server and, when trying to view my page on my localhost, I see this error:
Could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?
The weird thing is that a week ago this page was displaying and now it is not, so I don't understand what changed.
The 5432 port error is probably indicating that Rails is trying to connect to a PostgreSQL database that hasn't yet been created or isn't running.
Check to make sure your config\database.yml file is accurate and run the following command:
bundle exec rake db:create
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Improve this question
I have a Rails app that is running on a production VPS Ubuntu server with Unicorn and Nginx server. I've developed app on local machine, where app is working flawless.
But when i tried to open live rails app on FireFox browser, It seems hangs; When i saw production.log , I found following:
Connecting to database specified by database.yml
Connecting to database specified by database.yml
This is the setting of my database.yml file.
production:
adapter: postgresql
encoding: unicode
database: svschool_production
pool: 5
host: localhost
username: xxxxxxxx
password: xxxxxxxx
What should i do now to work it well?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
while Am trying to use following command
telnet localhost 11211
am getting this error
Connecting To localhost...Could not open connection to the host, on port 11211:
Connect failed
I enabled telnet.How can i overcome this error?
You should check your firewall settings (iptables --list as root or sudo for Linux), and see if there's anything possible blocking that. Check which ports are open (netstat -nl --inet) and also check running processes and find the process that you expect to be listening.
Whatever you expect to be listening on that port is probably not running, or is misconfigured.
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 tried to install Packetix VPN client on windows 8 (64-bit). It cannot create a network adapter on my system. I tried to make a network adapter manually but i cant seem to find the option to create on.
You can use Command Prompt(Admin) in Windows 8 to setup a virtual network adapter:
use following commands:
netsh wlan set hostednetwork ssid=mynetwork key=12345678 mode=allow keyusage=persistent
// and when you press enter,there will be three messages in command prompt
//after that you can start your virtual network
netsh wlan start hostednetwork
This works for me