<p>This issue suddenly fixed itself without any changes that I'm aware of... Thanks anyway!</p>

CC BY-SA 3.0
2017-07-06T21:41:51.500Z
2017-07-06T21:41:51.500Z
mdmngz
<p>I'm accessing my site through a local IP address (192.168.1.128:3000 that mirrors xxx.dev)</p>

<p>In my general.php I have these settings which work fine when accessed through IP =></p>

<p><a href="https://i.sstatic.net/vcQtQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vcQtQ.png" alt="enter image description here"></a></p>

<p>I then request for 2 image transforms (one non-retina, the other retina):</p>

<p><a href="https://i.sstatic.net/LkPCf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LkPCf.png" alt="enter image description here"></a></p>

<p>But when I check the rendered source code in the browser, I notice that only my retina (big format) doesn't have the IP address in it's path, how is this possible?</p>

<p><a href="https://i.sstatic.net/AGWAQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AGWAQ.png" alt="enter image description here"></a></p>

<p>This isn't that big of an issue on my desktop because it will always find the xxx.dev, but when I try to test the site on my iPhone - through the IP address - it doesn't render the retina image because it can't find the xxx.dev</p>

<p>Any ideas on this one? Thanks in advance!</p>

CC BY-SA 3.0
2017-07-02T00:17:50.500Z
I assume you setup the 192.168.0.129 => qualityliving.dev mapping in your hosts file?
Brad Bell
CC BY-SA 3.0
2017-07-02T11:56:48.207Z
My desktop computer has IP 192.168.0.128, my Vagrant box has IP 192.168.56.119  This is the entry in my hosts file => [link](https://cl.ly/lOLo)  
I have the BrowserSync Grunt task running which proxies the qualityliving.dev to 192.168.0.128:3000  
I don't think the problem lies there, because all other resources (images, js, css, ...) also have the IP address as their src or href [link](https://cl.ly/lOLo)  (I'm sorry for the lack of line-breaks in this comment, I must be doing something wrong here)
mdmngz
CC BY-SA 3.0
2017-07-02T12:03:14.960Z
js resources also have the IP as their src => [link](https://cl.ly/lOjR)
mdmngz
CC BY-SA 3.0
2017-07-03T03:08:36.677Z
Hrm... maybe a Vagrant user can chime in. A bit out of my wheel-house.
Brad Bell
<ip-address>
Access site via local dev IP address => certain image path (xxx.dev) isn't replaced with IP address
# Access site via local dev IP address => certain image path (xxx.dev) isn't replaced with IP address

(Asked by: username_0 on 2017-07-01)

I'm accessing my site through a local IP address (192.168.1.128:3000 that mirrors xxx.dev)

In my general.php I have these settings which work fine when accessed through IP =>

[![enter image description here](https://i.sstatic.net/vcQtQ.png)](https://i.sstatic.net/vcQtQ.png)

I then request for 2 image transforms (one non-retina, the other retina):

[![enter image description here](https://i.sstatic.net/LkPCf.png)](https://i.sstatic.net/LkPCf.png)

But when I check the rendered source code in the browser, I notice that only my retina (big format) doesn't have the IP address in it's path, how is this possible?

[![enter image description here](https://i.sstatic.net/AGWAQ.png)](https://i.sstatic.net/AGWAQ.png)

This isn't that big of an issue on my desktop because it will always find the xxx.dev, but when I try to test the site on my iPhone - through the IP address - it doesn't render the retina image because it can't find the xxx.dev

Any ideas on this one? Thanks in advance!

**Tags:** ip-address
> **Comments:**
> **username_1**: I assume you setup the 192.168.0.129 => qualityliving.dev mapping in your hosts file?  
> **username_0**: My desktop computer has IP 192.168.0.128, my Vagrant box has IP 192.168.56.119  This is the entry in my hosts file => [link](https://cl.ly/lOLo)   I have the BrowserSync Grunt task running which proxies the qualityliving.dev to 192.168.0.128:3000   I don't think the problem lies there, because all other resources (images, js, css, ...) also have the IP address as their src or href [link](https://cl.ly/lOLo)  (I'm sorry for the lack of line-breaks in this comment, I must be doing something wrong here)  
> **username_0**: js resources also have the IP as their src => [link](https://cl.ly/lOjR)  
> **username_1**: Hrm... maybe a Vagrant user can chime in. A bit out of my wheel-house.  

---

## 1 answers

### Answer by username_0 on 2017-07-06. Score: 1 | Accepted answer

This issue suddenly fixed itself without any changes that I'm aware of... Thanks anyway!


---

