VM on VPS

68 views
Skip to first unread message

Илья Савинков

unread,
Apr 18, 2014, 11:19:20 AM4/18/14
to mi...@dartlang.org
I ran on ubuntu web server address 127.0.0.1:8080, corresponding lines in the terminal said that the server is running. How can I talk to the server through a browser?

Filipe Morgado

unread,
Apr 18, 2014, 2:16:54 PM4/18/14
to
I'm not 100% sure of what I'm saying as I don't have the means to test it right now, so take it with a grain of salt.

You're listening to 127.0.0.1, which corresponds to InternetAddress.LOOPBACK_IP_V4, and I think it can only be reached from clients running on the same machine.

Have you tried running the server on InternetAddress.ANY_IP_V4?

Yulian Kuncheff

unread,
Apr 19, 2014, 12:31:29 AM4/19/14
to mi...@dartlang.org
You need to make sure that on your VPS the port is allowed to be communicated on. Check the firewall settings. Also which VPS would be helpful.

Make sure your IPTables aren't blocking it either.

Илья Савинков

unread,
Apr 19, 2014, 1:18:38 AM4/19/14
to
I figured out the problem =) Strings can pass with help response, but can't respose file index.html...

суббота, 19 апреля 2014 г., 10:31:29 UTC+6 пользователь Yulian Kuncheff написал:
Reply all
Reply to author
Forward
0 new messages