Score:0

How to access HTTP service by typing IP address in Firefox?

cn flag

enter image description here

enter image description here

My ip is 192.168.142.128. But I can't access it. I'm running Ubuntu in Virtualbox.

How can I fix this?

Doug Smythies avatar
gn flag
are you running a https web server on your computer at 192.168.142.128? What has this question got to do with the https server at 192.168.127.132?
user8314628 avatar
cn flag
Yes, 192.168.142.128 is my ip. And 192.168.127.132 is from an example.
Doug Smythies avatar
gn flag
And you are running a web server with HTTPS on your computer? Have you tried accessing via 127.0.0.1, your local loopback interface?
user8314628 avatar
cn flag
@Doug Yes, and 127.0.0.1 doesn't work.
Doug Smythies avatar
gn flag
O.K., well now we need to know the version of Ubuntu you are using, as things have been changing. also which web server program. Try `$ sudo ss -tulpn | grep :443`. I get `tcp LISTEN 0 511 0.0.0.0:443 0.0.0.0:* users:(("apache2" ...` so apache is listening for any ip address on port 443.
user8314628 avatar
cn flag
It doesn't return anything. I'm using Ubuntu 18.04 LTS
Doug Smythies avatar
gn flag
Then it seems you are not running a web server servicing HTTPS on port 443. Therefore the results you get when trying to connect are correct and expected.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.