I wanted to check the operation of the Rails application developed on windows 10 on the iPhone. However, I could not connect because of ESET security software and Windows firewall. Although I will investigate for a while, only articles on "Mac OS environment and Android actual machine". That's not what I want to know! !! It's a Windows and iPhone environment! By the way, this article is quite limited to readers, but I will describe how to help those who are suffering from the same environment.
Rails v220.127.116.11 OS：windows10 64bit
"Automatic mode with rules (default)" ➡ Go to "Interactive mode".
The Rails app will not release port 3000 unless otherwise specified.
Start with the option
-b 0.0.0.0 and pass number 3000.
rails s -b 0.0.0.0
If you open a command prompt and type, the IP configuration will be displayed in a row. The "IPv4 address" will be the IP of your PC.
＞ipconfig Ethernet adapter ethernet: Connection-specific DNS suffix. . . . .: IPv6 address. . . . . . . . . . . .: xxxx:xxxx:xxxx:x:xxxx:xxx:xxxx:xxxx Temporary IPv6 address. . . . . . . . . .: xxxx:xxxx:xxxx:x:xxxx:xxxx:xxxx:xxxx Link-local IPv6 address. . . . .: xxxx::xxxx:xxx:xxxx:xxxxxxx IPv4 address. . . . . . . . . . . .: 192.168.x.x sub-net mask. . . . . . . . . .: 255.255.255.0 default gateway. . . . . . .: xxxx::xxxx:xxxx:xxxx:xxxxxxx 192.168.x.x
Access by entering the IP address you found earlier in the address field.
At this time, the port of localhost is
3000 by default, so don't forget to specify the port. For example:
Example :) 192.168.x.x: 3000
Check "Create a rule and remember it forever" and click "Allow"
Make sure the connection is correct Follow the procedure you did at the beginning to return to "Interactive mode" ➡ "Automatic mode with rules (default)".