Redmine Not working from other computer - redmine

I have installed redmine 3.2 version in centos 7 and it's working in localhost:3000 in the same machine. but it's not working form other pc in the same network.
I have allow the 3000 port and tried to stop firewalld also.

It seems issue with redmine startup cmd before i used " ruby bin/rails server webrick -e production -p 3000 " it will work only in localhost. Now used this command " ruby bin/rails server webrick -e production -b 192.168.XX.XX -p 3000 " with ipaddress it work fine.

Related

Cesanta/Mongoose c++ server not accessible outside localhost on Mac

I have tried to setup a server on my machine using the examples provided (http-restful-server). This works fine when accessing the server from the same device (localhost:8000) but is not accessible from another device on the local network.
mg_http_listen is using 0.0.0.0:8000 instead of localhost:8000 as per this question.
I have the firewall completely turned off
I have tried running as sudo.
I am however able to access a basic python server from another device on the network using python -m http.server 8000 --bind 0.0.0.0
Both the python and mongoose listeners appear in sudo lsof -I -nP | grep LISTEN for their respective ports
So it appears to be a problem in mongoose itself. How can I make the server accessible to other devices as python is?

Django Application running on Ubuntu VPS: This site can’t be reached

I am running an ubuntu 16.04 cloud VPS server. I've set up a venv and activated it, and installed django.
I run the server with
python3 manage.py runserver 0.0.0.0:8000
I am trying to access this application from a remote computer (not inside the same LAN); I'm trying to make the application visible to the world outside the VPS and VPLAN. When I try to access the site in my home computer broswer like: xx.xx.xxx.xxx:8000 I get the error:
This site can’t be reached. http://xx.xx.xxx.xxx:8000/ is unreachable.
Now I've tried a traceroute and it seems to reach the server ok. I also did
sudo ufw enable
sudo ufw 8000 allow
sudo iptables -S | grep 8000 (and see the proper entries)
In the settings file I have:
ALLOWED_HOSTS = ["*", "0.0.0.0", "localhost", "xx.xx.xxx.xxx","xxx.temporary.link"]
If I wget localhost:8000 I get a response fine. I have tried doing all of the above as root and as another dedicated user but it makes no difference.
I ran through this guide
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04
and I still have the same issue.
Does anyone have any other ideas? Thanks in advance
Try:
sudo ufw allow 8000
Not:
sudo ufw 8000 allow

able to run rails server from production server directly but not pulling website from domain name

able to run rails server from production server directly but not pulling website from domain name,
I have an rails app which is deployed on EC2 instance with unicorn+nginx, both the things are running.
If I run rails s RAILS_ENV=production, it runs properly on ip address:3000, but when I enter hostname www.example.com, it shows error 522 connection timeout
Any help on this, I tried googling but nothing helped.
This may work
rails s -e production -b your_host_ip -p 80
OR
rails s -e production -b 0.0.0.0 -p 80
OR
rails s -e production -b domain -p 80

Error on host m/c - can't establish a connection to the server at 127.0.0.1:8888

Hi I'm learning django form kenneth love's GSWD video tutorials.
I'm using windows 7(32bit) and have vagrant and virtual box installed in it. The OS in virtual machine is Ubuntu 12.04 LTS
As asked in the tutorial I did the following
**vagrant#precise32:/vagrant/projects$ source ~/blog.venv/bin/activate
Installed Django
then created project with django-admin.py startproject microblog
(blog.venv)vagrant#precise32:/vagrant/projects$ cd microblog
(blog.venv)vagrant#precise32:/vagrant/projects/microblog$ python
manage.py runserver 0.0.
0.0:8000
Validating models... 0 errors found Django version 1.4.4, using
settings 'microblog.settings' Development server is running at
(http removed)//0.0.0.0:8000/ Quit the server with CONTROL-C.**
After this when I go back to windows 7 browser and run 127.0.0.1:8888 as said in tutorial I get "can't establish a connection to the server at 127.0.0.1:8888" error.
What should I do to get the default "It Worked"-django page ???
Did you change the Vagrantfile to do port forwardings?
For example, in your case, host port 8888 <=> guest port 8000
Vagrant.configure("2") do |config|
config.vm.network :forwarded_port, guest: 8000, host: 8080
end
Refer to the docs: http://docs.vagrantup.com/v2/networking/forwarded_ports.html

WAMP is not running

I had installed WAMP in E: drive. I re-installed fresh copy of windows. Since then, WAMP only comes in red shade , not coming in green mode. Please help what should I do?
port 80 might be used by other services. test that using apache>services>test port 80. and disable that service.
When Windows is re-install or upgraded in-place, sometimes both the Apache and MySQL services are cleared out and the PATH environmental variable is reset.
Update the Path with the "bin" folders of Apache and MySQL.
Re-install the services...
If you are using WampDeveloper (I don't know which WAMP you are using), to install the services again it's (from the command line running as administrator):
Install Services:
httpd -k install -f "C:\WampDeveloper\Config\Apache\httpd.conf" -DSSL
mysqld --install Mysql --defaults-file="C:\WampDeveloper\Config\Mysql\my.ini"
The generic forms are:
Apache22\bin\httpd -k install
mysql5\bin\mysqld --install
If you are using Skpey exit and restart all service.
Tip:
on skype menu --> Tools --> Options --> advanced --> connection
Disable "Use port 80 and 443 as alternatives for incoming connections"