Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_CONNECTION_REFUSED #3

Open
ademergun opened this issue Nov 12, 2016 · 5 comments
Open

ERR_CONNECTION_REFUSED #3

ademergun opened this issue Nov 12, 2016 · 5 comments

Comments

@ademergun
Copy link

Hello Guys, I deeply apologize for asking this kind of troubleshooting question.I am quite beginner so please help me out.
I created an ionic project and moved to files into my new project. I dont get any error but that one. I see the background image and that's it, nothing else. It must be because of that error. Ive checked Read me section but couldnt have figured it out

http://139.59.165.6/opencart-2.0.1.0/upload/api/v1/oauth2/token net::ERR_CONNECTION_REFUSED

@arnisjuraga
Copy link

arnisjuraga commented Nov 12, 2016

Check the server configuration or Webserver service at all.
It seems, the server is no running at all or have some firewall blocking any HTTP connections to Your's server:

try: http://139.59.165.6

or:

root@yii:/# telnet 139.59.165.6 80

response:

Trying 139.59.165.6...
telnet: Unable to connect to remote host: Connection refused

@ademergun
Copy link
Author

I've have checked many times but no luck so far. Could you make it work on your computer? I wonder if it is happening only to me or that IP cannot be reached

@arnisjuraga
Copy link

It seems, I found it -
in php.ini - if You have "
mysql.connect_timeout more then script execution time, then, of course, it will get timeout, if hostname is incorrect.

So, You could change php runtime settings for this - to smaller amount.

@ademergun
Copy link
Author

thank you arnisjurage, I couldnt find any file with that name, to make sure I am looking at the right place can you tell me the path for that file?

@arnisjuraga
Copy link

I mean - php.ini is PHP configuration file. And mysql.connect_timeout is a php setting.

If you need, you can find correct path to php.ini by test file:

<?php

phpinfo();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants