I host a small, personal Apache server on my desktop and allow others to visit it using my IP address. If I normally have a connection which runs through a router (allowing me to specify which ports to allot where, etc.), how can I have the same functionality when I'm using my iPhone for my internet connection? I want to be able to visit the IP my iPhone is given on a browser like I normally can when I am on a regular connection. Thanks!
If I understand you correctly, you wish to know your current IP address, right?
If you google for "whats my ip" Google actually shows your external ip address; alternatively, use www.whatismyip.com . You can find the network-internal adress (if on wlan) under Settings>WiFi>Blue Arrow next to your network.
Maybe this is already enough for you to work with, otherwise, what is the end goal? Maybe we can find another solution.